Browse Source
Remove unused structures from lighting fragment shaders (#3497)
pull/3501/head
Jeffery Myers
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
0 additions and
18 deletions
-
examples/shaders/resources/shaders/glsl100/lighting.fs
-
examples/shaders/resources/shaders/glsl120/lighting.fs
-
examples/shaders/resources/shaders/glsl330/lighting.fs
|
@ -18,12 +18,6 @@ uniform vec4 colDiffuse; |
|
|
#define LIGHT_DIRECTIONAL 0 |
|
|
#define LIGHT_DIRECTIONAL 0 |
|
|
#define LIGHT_POINT 1 |
|
|
#define LIGHT_POINT 1 |
|
|
|
|
|
|
|
|
struct MaterialProperty { |
|
|
|
|
|
vec3 color; |
|
|
|
|
|
int useSampler; |
|
|
|
|
|
sampler2D sampler; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
struct Light { |
|
|
struct Light { |
|
|
int enabled; |
|
|
int enabled; |
|
|
int type; |
|
|
int type; |
|
|
|
@ -16,12 +16,6 @@ uniform vec4 colDiffuse; |
|
|
#define LIGHT_DIRECTIONAL 0 |
|
|
#define LIGHT_DIRECTIONAL 0 |
|
|
#define LIGHT_POINT 1 |
|
|
#define LIGHT_POINT 1 |
|
|
|
|
|
|
|
|
struct MaterialProperty { |
|
|
|
|
|
vec3 color; |
|
|
|
|
|
int useSampler; |
|
|
|
|
|
sampler2D sampler; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
struct Light { |
|
|
struct Light { |
|
|
int enabled; |
|
|
int enabled; |
|
|
int type; |
|
|
int type; |
|
|
|
@ -19,12 +19,6 @@ out vec4 finalColor; |
|
|
#define LIGHT_DIRECTIONAL 0 |
|
|
#define LIGHT_DIRECTIONAL 0 |
|
|
#define LIGHT_POINT 1 |
|
|
#define LIGHT_POINT 1 |
|
|
|
|
|
|
|
|
struct MaterialProperty { |
|
|
|
|
|
vec3 color; |
|
|
|
|
|
int useSampler; |
|
|
|
|
|
sampler2D sampler; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
struct Light { |
|
|
struct Light { |
|
|
int enabled; |
|
|
int enabled; |
|
|
int type; |
|
|
int type; |
|
|