billboard.frag 164 B

1234567891011
  1. uniform sampler2D tex;
  2. in vec2 uv;
  3. out vec4 FragColor;
  4. void main(void)
  5. {
  6. vec4 color = texture(tex, uv);
  7. FragColor = vec4(color.a * color.rgb, color.a);
  8. }