瀏覽代碼

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

legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
3f883b9aba
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      tutorial/08_fbo.lolfx

+ 4
- 0
tutorial/08_fbo.lolfx 查看文件

@@ -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…
取消
儲存