c1486596fb
Shaders are moved into dedicated directories 1.10 and 1.40. 1.10 contains the already existing versions, 1.40 copies of them adjusted to GLSL 1.40. REVIEW: 110571
11 lines
166 B
GLSL
11 lines
166 B
GLSL
#version 140
|
|
uniform float u_alpha;
|
|
|
|
in vec2 varyingTexCoords;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main()
|
|
{
|
|
fragColor = vec4(0.0, 0.0, 0.0, u_alpha*varyingTexCoords.s);
|
|
}
|