mojo2_lightmapshader.glsl 190 B

123456789
  1. //shader for drawing lightmaps, ie: light images or layer light masks.
  2. uniform sampler2D ColorTexture;
  3. void shader(){
  4. b3d_FragColor=vec4( texture2D( ColorTexture,b3d_Texcoord0 ).r );
  5. }