使用 JavaScript能使本网站更好的工作。
首页
帮助
登录
lolengine
/
lol
镜像自地址
https://github.com/lolengine/lol
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
0
百科
动态
浏览代码
easymesh: allow the shader to build on GL ES.
legacy
Sam Hocevar
sam
13 年前
父节点
44180ce402
当前提交
a36e930a87
共有
1 个文件被更改
,包括
11 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+11
-1
src/easymesh/shiny.lolfx
+ 11
- 1
src/easymesh/shiny.lolfx
查看文件
@@ -1,6 +1,10 @@
-- GLSL.Vert --
#if defined GL_ES
#version 100
#else
#version 120
#endif
attribute vec3 in_Vertex;
attribute vec3 in_Normal;
@@ -49,9 +53,15 @@ void main(void)
}
-- GLSL.Frag --
#if defined GL_ES
#version 100
#else
#version 120
#endif
//precision highp float;
#if defined GL_ES
precision highp float;
#endif
varying vec4 pass_Color;
void main(void) {
撰写
预览
正在加载...
取消
保存