浏览代码

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

#if defined GL_ES
precision highp float;
#endif

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


正在加载...
取消
保存