forked from mirror/openmw-tes3mp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
234 B
Plaintext
16 lines
234 B
Plaintext
9 years ago
|
#version 120
|
||
|
|
||
|
#if @diffuseMap
|
||
|
uniform sampler2D diffuseMap;
|
||
|
varying vec2 diffuseMapUV;
|
||
|
#endif
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
#if @diffuseMap
|
||
|
gl_FragData[0] = texture2D(diffuseMap, diffuseMapUV);
|
||
|
#else
|
||
|
gl_FragData[0] = vec4(1,1,1,1);
|
||
|
#endif
|
||
|
}
|