#5808 - Include and use .glsl in source (rend2)

This commit is contained in:
James Canete committed 2012-12-04 01:56:52 +00:00
1 parent 6b811ada7a
commit edb414b34a
30 files changed
+2058 -999

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
uniform vec4 u_Color;
varying float var_Scale;
void main()
{
gl_FragColor = u_Color;
gl_FragColor.a *= sqrt(clamp(var_Scale, 0.0, 1.0));
}