Jeffery Myers
1 anno fa
committed by
GitHub
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: 4AEE18F83AFDEB23
3 ha cambiato i file con
0 aggiunte e
18 eliminazioni
-
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; |
|
|