Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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;
- gl_FragData[1] = vec4(vec3(gl_FragCoord.z), 1.0);
- }
Advertisement
Add Comment
Please, Sign In to add comment