15 lines
246 B
GLSL
15 lines
246 B
GLSL
#version 120
|
|
|
|
|
|
uniform sampler2D texture;
|
|
uniform sampler2D lightmap;
|
|
|
|
varying vec4 color;
|
|
varying vec4 texcoord;
|
|
varying vec4 lmcoord;
|
|
|
|
|
|
void main()
|
|
{
|
|
gl_FragData[0] = texture2D(texture, texcoord.st) * texture2D(lightmap, lmcoord.st) * color;
|
|
} |