Explorar el Código

tutorial: fix the FBO shader so that it works with OpenGL ES.

legacy
Sam Hocevar sam hace 13 años
padre
commit
3f883b9aba
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. +4
    -0
      tutorial/08_fbo.lolfx

+ 4
- 0
tutorial/08_fbo.lolfx Ver fichero

@@ -16,6 +16,10 @@ void main()

#version 120

#if defined GL_ES
precision highp float;
#endif

uniform sampler2D in_Texture;
uniform float in_Flag;
uniform vec3 in_Point;


Cargando…
Cancelar
Guardar