Ver código fonte

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

legacy
Sam Hocevar sam 13 anos atrás
pai
commit
3f883b9aba
1 arquivos alterados com 4 adições e 0 exclusões
  1. +4
    -0
      tutorial/08_fbo.lolfx

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

@@ -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;


Carregando…
Cancelar
Salvar