mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
16 lines
234 B
Plaintext
16 lines
234 B
Plaintext
|
#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
|
||
|
}
|