summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeffery Myers <[email protected]>2023-11-01 04:16:14 -0700
committerGitHub <[email protected]>2023-11-01 12:16:14 +0100
commit38205d67da4cf1216bbc4824e4c3af25e51792e0 (patch)
tree460f82ea86174dc8718d4cb673b83090dc578dc2
parentd4c0d3bebe9e1f7bdaa197b77fc868aca683ad35 (diff)
downloadraylib-38205d67da4cf1216bbc4824e4c3af25e51792e0.tar.gz
raylib-38205d67da4cf1216bbc4824e4c3af25e51792e0.zip
Remove unused structures from lighting fragment shaders (#3497)
-rw-r--r--examples/shaders/resources/shaders/glsl100/lighting.fs6
-rw-r--r--examples/shaders/resources/shaders/glsl120/lighting.fs6
-rw-r--r--examples/shaders/resources/shaders/glsl330/lighting.fs6
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;