summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/XFMemory.h
diff options
context:
space:
mode:
authorNanoByte011 <nanobyte011@hotmail.com>2015-01-21 15:55:32 -0700
committerNanoByte011 <nanobyte011@hotmail.com>2015-01-21 15:55:32 -0700
commitf475e367f2d1d4952cf4e9b8c86f68f9e09f3b73 (patch)
treec30d3efb833c0253a524b9a76f21c1a532f05613 /Source/Core/VideoCommon/XFMemory.h
parente7f2a04699c0e7e622028b4feba07fb6f46142bf (diff)
Lighting Attenuation Fixes
Diffstat (limited to 'Source/Core/VideoCommon/XFMemory.h')
-rw-r--r--Source/Core/VideoCommon/XFMemory.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/XFMemory.h b/Source/Core/VideoCommon/XFMemory.h
index 6ec28476d8..d244e9e3c1 100644
--- a/Source/Core/VideoCommon/XFMemory.h
+++ b/Source/Core/VideoCommon/XFMemory.h
@@ -44,10 +44,10 @@
#define LIGHTDIF_SIGN 1
#define LIGHTDIF_CLAMP 2
-#define LIGHTATTN_SPEC 0 // specular attenuation
-#define LIGHTATTN_SPOT 1 // distance/spotlight attenuation
-#define LIGHTATTN_NONE 2
-#define LIGHTATTN_DIR 3
+#define LIGHTATTN_NONE 0 // no attenuation
+#define LIGHTATTN_SPEC 1 // point light attenuation
+#define LIGHTATTN_DIR 2 // directional light attenuation
+#define LIGHTATTN_SPOT 3 // spot light attenuation
#define GX_PERSPECTIVE 0
#define GX_ORTHOGRAPHIC 1