Pārlūkot izejas kodu

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

legacy
Sam Hocevar sam pirms 12 gadiem
vecāks
revīzija
3f883b9aba
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +4
    -0
      tutorial/08_fbo.lolfx

+ 4
- 0
tutorial/08_fbo.lolfx Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt