Este sitio web funciona mejor con JavaScript.
Inicio
Ayuda
Iniciar sesión
lolengine
/
lol
réplica de
https://github.com/lolengine/lol
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
easymesh: allow the shader to build on GL ES.
legacy
Sam Hocevar
sam
hace 13 años
padre
44180ce402
commit
a36e930a87
Se han
modificado 1 ficheros
con
11 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+11
-1
src/easymesh/shiny.lolfx
+ 11
- 1
src/easymesh/shiny.lolfx
Ver fichero
@@ -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) {
Escribir
Vista previa
Cargando…
Cancelar
Guardar