Deze website werkt beter met JavaScript.
Beginscherm
Help
Inloggen
lolengine
/
lol
kopie van
https://github.com/lolengine/lol
Volgen
1
Ster
0
Vork
0
Code
Kwesties
0
Publicaties
0
Wiki
Activiteit
Bladeren bron
easymesh: allow the shader to build on GL ES.
legacy
Sam Hocevar
sam
13 jaren geleden
bovenliggende
44180ce402
commit
a36e930a87
1 gewijzigde bestanden
met
toevoegingen van 11
en
1 verwijderingen
Zij-aan-zij weergave
Diff opties
Statistieken weergeven
Download Patch-bestand
Download Diff-bestand
+11
-1
src/easymesh/shiny.lolfx
+ 11
- 1
src/easymesh/shiny.lolfx
Bestand weergeven
@@ -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) {
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan