shaderSimpleTexture.frag 186 Bytes
Newer Older
1 2
// ShaderSimpleTexture::fragmentShaderText

kvanhoey's avatar
kvanhoey committed
3
PRECISION;
4 5 6 7 8
VARYING_FRAG vec2 texCoord;
uniform sampler2D textureUnit;
FRAG_OUT_DEF;
void main()
{
9
	FRAG_OUT=texture2D(textureUnit,texCoord);
10
}