Lighting Attenuation Fixes

This commit is contained in:
NanoByte011
2015-01-21 15:55:32 -07:00
parent e7f2a04699
commit f475e367f2
4 changed files with 44 additions and 59 deletions

View File

@ -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