This website works better with JavaScript.
Почетна
Помоћ
Пријавите Се
lolengine
/
lol
огледало од
https://github.com/lolengine/lol
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
0
Вики
Activity
Преглед изворни кода
easymesh: allow the shader to build on GL ES.
legacy
Sam Hocevar
sam
пре 12 година
родитељ
44180ce402
комит
a36e930a87
1 измењених фајлова
са
11 додато
и
1 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+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) {
Write
Preview
|
|
|
|
|
|
x
0
0
0:0
Loading…
Откажи
Сачувај