c00d468f0f
Shader moved to 1.10 subdirectory and a new version for 1.40 added. At the same time call to glPolygonMode removed as it caused errors with core context (and seems to not be needed). REVIEW: 110572
9 lines
193 B
GLSL
9 lines
193 B
GLSL
uniform vec4 u_frontColor;
|
|
uniform vec4 u_backColor;
|
|
|
|
varying vec2 varyingTexCoords;
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = u_frontColor*(1.0-varyingTexCoords.s) + u_backColor*varyingTexCoords.s;
|
|
}
|