summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders
diff options
context:
space:
mode:
authorRay <[email protected]>2022-06-22 00:35:06 +0200
committerRay <[email protected]>2022-06-22 00:35:06 +0200
commitd7a0b4600694a821e8ebb8c47950cb07b445bece (patch)
tree9d1f2e383d40d21fbf0a0d26f2fc6770063d2081 /examples/shaders
parent77b9ca50e09a52acf21de571652d6f84b9755902 (diff)
downloadraylib-d7a0b4600694a821e8ebb8c47950cb07b445bece.tar.gz
raylib-d7a0b4600694a821e8ebb8c47950cb07b445bece.zip
Update rlights.h
Diffstat (limited to 'examples/shaders')
-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