DarkShadow44

Untitled

Oct 18th, 2021
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #version 120
  2.  
  3. uniform sampler2D texture;
  4. uniform sampler2D lightmap;
  5.  
  6. varying vec4 color;
  7. varying vec4 texcoord;
  8. varying vec2 lmcoord;
  9.  
  10. void main() {
  11. vec4 blockLight = texture2D(lightmap, vec2(0.99, 0.01));
  12. gl_FragData[0] = texture2D(texture, texcoord.st) * color * blockLight;
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment