Kaynağa Gözat

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

legacy
Sam Hocevar sam 12 yıl önce
ebeveyn
işleme
3f883b9aba
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. +4
    -0
      tutorial/08_fbo.lolfx

+ 4
- 0
tutorial/08_fbo.lolfx Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet