瀏覽代碼

Remove unused structures from lighting fragment shaders (#3497)

pull/3501/head
Jeffery Myers 1 年之前
committed by GitHub
父節點
當前提交
38205d67da
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 3 個檔案被更改,包括 0 行新增18 行删除
  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 查看文件

@ -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 查看文件

@ -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 查看文件

@ -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…
取消
儲存