From d7a0b4600694a821e8ebb8c47950cb07b445bece Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 22 Jun 2022 00:35:06 +0200 Subject: Update rlights.h --- examples/shaders/rlights.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') 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 -- cgit v1.2.3