diff options
| author | Jeffery Myers <[email protected]> | 2023-11-01 04:16:14 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-01 12:16:14 +0100 |
| commit | 38205d67da4cf1216bbc4824e4c3af25e51792e0 (patch) | |
| tree | 460f82ea86174dc8718d4cb673b83090dc578dc2 | |
| parent | d4c0d3bebe9e1f7bdaa197b77fc868aca683ad35 (diff) | |
| download | raylib-38205d67da4cf1216bbc4824e4c3af25e51792e0.tar.gz raylib-38205d67da4cf1216bbc4824e4c3af25e51792e0.zip | |
Remove unused structures from lighting fragment shaders (#3497)
| -rw-r--r-- | examples/shaders/resources/shaders/glsl100/lighting.fs | 6 | ||||
| -rw-r--r-- | examples/shaders/resources/shaders/glsl120/lighting.fs | 6 | ||||
| -rw-r--r-- | examples/shaders/resources/shaders/glsl330/lighting.fs | 6 |
3 files changed, 0 insertions, 18 deletions
diff --git a/examples/shaders/resources/shaders/glsl100/lighting.fs b/examples/shaders/resources/shaders/glsl100/lighting.fs index 73671619..73531a8b 100644 --- a/examples/shaders/resources/shaders/glsl100/lighting.fs +++ b/examples/shaders/resources/shaders/glsl100/lighting.fs @@ -18,12 +18,6 @@ uniform vec4 colDiffuse; #define LIGHT_DIRECTIONAL 0 #define LIGHT_POINT 1 -struct MaterialProperty { - vec3 color; - int useSampler; - sampler2D sampler; -}; - struct Light { int enabled; int type; diff --git a/examples/shaders/resources/shaders/glsl120/lighting.fs b/examples/shaders/resources/shaders/glsl120/lighting.fs index d9cfb447..8dda5a54 100644 --- a/examples/shaders/resources/shaders/glsl120/lighting.fs +++ b/examples/shaders/resources/shaders/glsl120/lighting.fs @@ -16,12 +16,6 @@ uniform vec4 colDiffuse; #define LIGHT_DIRECTIONAL 0 #define LIGHT_POINT 1 -struct MaterialProperty { - vec3 color; - int useSampler; - sampler2D sampler; -}; - struct Light { int enabled; int type; diff --git a/examples/shaders/resources/shaders/glsl330/lighting.fs b/examples/shaders/resources/shaders/glsl330/lighting.fs index 58845c86..d1f3140a 100644 --- a/examples/shaders/resources/shaders/glsl330/lighting.fs +++ b/examples/shaders/resources/shaders/glsl330/lighting.fs @@ -19,12 +19,6 @@ out vec4 finalColor; #define LIGHT_DIRECTIONAL 0 #define LIGHT_POINT 1 -struct MaterialProperty { - vec3 color; - int useSampler; - sampler2D sampler; -}; - struct Light { int enabled; int type; |
