Denna sida fungerar bättre med Javascript igång.
Startsida
Hjälp
Logga in
lolengine
/
lol
spegling av
https://github.com/lolengine/lol
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
easymesh: allow the shader to build on GL ES.
legacy
Sam Hocevar
sam
13 år sedan
förälder
44180ce402
incheckning
a36e930a87
1 ändrade filer
med
11 tillägg
och
1 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-1
src/easymesh/shiny.lolfx
+ 11
- 1
src/easymesh/shiny.lolfx
Visa fil
@@ -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) {
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara