shaderSimpleTexture.frag 187 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()
{
Sylvain Thery's avatar
Sylvain Thery committed
9 10
	FRAG_OUT=TEXTURE2D(textureUnit,texCoord);
}