Browse Source

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

legacy
Sam Hocevar sam 12 years ago
parent
commit
3f883b9aba
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tutorial/08_fbo.lolfx

+ 4
- 0
tutorial/08_fbo.lolfx View File

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


Loading…
Cancel
Save