Remove unused structures from lighting fragment shaders (#3497)
This commit is contained in:
parent
d4c0d3bebe
commit
38205d67da
3 changed files with 0 additions and 18 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue