Jeffery Myers
pirms 2 gadiem
committed by
GitHub
vecāks
revīzija
38205d67da
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
3 mainītis faili ar
0 papildinājumiem un
18 dzēšanām
-
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_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; |
|
|
|
|