Parcourir la source

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

legacy
Sam Hocevar sam il y a 12 ans
Parent
révision
3f883b9aba
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. +4
    -0
      tutorial/08_fbo.lolfx

+ 4
- 0
tutorial/08_fbo.lolfx Voir le fichier

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


Chargement…
Annuler
Enregistrer