updated readme
[andemo] / sdr / foo.p.glsl
index 0506e58..d613bf5 100644 (file)
@@ -1,9 +1,10 @@
 uniform sampler2D tex;
 
+varying vec4 color;
 varying vec2 texcoord;
 
 void main()
 {
        vec4 texel = texture2D(tex, texcoord);
-       gl_FragColor = texel;
+       gl_FragColor = color * texel;
 }