Selaa lähdekoodia

Remove unused structures from lighting fragment shaders (#3497)

pull/3501/head
Jeffery Myers 1 vuosi sitten
committed by GitHub
vanhempi
commit
38205d67da
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 muutettua tiedostoa jossa 0 lisäystä ja 18 poistoa
  1. +0
    -6
      examples/shaders/resources/shaders/glsl100/lighting.fs
  2. +0
    -6
      examples/shaders/resources/shaders/glsl120/lighting.fs
  3. +0
    -6
      examples/shaders/resources/shaders/glsl330/lighting.fs

+ 0
- 6
examples/shaders/resources/shaders/glsl100/lighting.fs Näytä tiedosto

@ -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;

+ 0
- 6
examples/shaders/resources/shaders/glsl120/lighting.fs Näytä tiedosto

@ -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;

+ 0
- 6
examples/shaders/resources/shaders/glsl330/lighting.fs Näytä tiedosto

@ -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;

Ladataan…
Peruuta
Tallenna