浏览代码

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;

正在加载...
取消
保存