使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
Archivist
/
raylib-src
镜像自地址
https://github.com/raysan5/raylib
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
24
百科
动态
浏览代码
Remove unused structures from lighting fragment shaders (
#3497
)
pull/3501/head
Jeffery Myers
1年前
committed by
GitHub
父节点
d4c0d3bebe
当前提交
38205d67da
找不到此签名对应的密钥
GPG 密钥 ID:
4AEE18F83AFDEB23
共有
3 个文件被更改
,包括
0 次插入
和
18 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+0
-6
examples/shaders/resources/shaders/glsl100/lighting.fs
+0
-6
examples/shaders/resources/shaders/glsl120/lighting.fs
+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
c
o
l
o
r
;
int
u
s
e
S
a
m
p
l
e
r
;
sampler2D
s
a
m
p
l
e
r
;
}
;
struct
Light
{
int
e
n
a
b
l
e
d
;
int
t
y
p
e
;
+ 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
c
o
l
o
r
;
int
u
s
e
S
a
m
p
l
e
r
;
sampler2D
s
a
m
p
l
e
r
;
}
;
struct
Light
{
int
e
n
a
b
l
e
d
;
int
t
y
p
e
;
+ 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
c
o
l
o
r
;
int
u
s
e
S
a
m
p
l
e
r
;
sampler2D
s
a
m
p
l
e
r
;
}
;
struct
Light
{
int
e
n
a
b
l
e
d
;
int
t
y
p
e
;
撰写
预览
正在加载...
取消
保存