summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/shaders/rlights.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/shaders/rlights.h b/examples/shaders/rlights.h
index 4a5677bc..cf0f7629 100644
--- a/examples/shaders/rlights.h
+++ b/examples/shaders/rlights.h
@@ -49,6 +49,7 @@ typedef struct {
Vector3 position;
Vector3 target;
Color color;
+ float attenuation;
// Shader locations
int enabledLoc;
@@ -56,6 +57,7 @@ typedef struct {
int positionLoc;
int targetLoc;
int colorLoc;
+ int attenuationLoc;
} Light;
// Light type