瀏覽代碼

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

legacy
Sam Hocevar sam 13 年之前
父節點
當前提交
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 #version 120


#if defined GL_ES
precision highp float;
#endif

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


Loading…
取消
儲存