mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 13:10:37 +00:00
2f21fccee9
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31512 e7fa87d3-cd2b-0410-9028-fcbf551c1848
20 lines
371 B
GLSL
20 lines
371 B
GLSL
#version 130
|
|
uniform sampler2D texSampler2D;
|
|
varying vec4 color;
|
|
varying float alpha;
|
|
|
|
varying vec4 gl_TexCoord[6];
|
|
|
|
varying vec4 foo[3];
|
|
|
|
void main()
|
|
{
|
|
vec4 texColor = texture2D(texSampler2D, vec2(gl_TexCoord[4] + gl_TexCoord[5]));
|
|
|
|
texColor += color;
|
|
|
|
texColor.a = alpha;
|
|
|
|
gl_FragColor = foo[1] + gl_TexCoord[0] + gl_TexCoord[4] + texColor;
|
|
}
|