zintersect.frag.0.glsl150 137 B

123456789101112
  1. #version 150
  2. uniform sampler2D cover;
  3. out vec4 fragColor;
  4. in vec2 vUV;
  5. void main()
  6. {
  7. fragColor.x = abs(texture(cover, vUV).x);
  8. }