You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FontShader.frag 304B

123456789
  1. #version 330
  2. uniform sampler2D textureIn;
  3. in vec4 colorPipe;
  4. in vec2 texCoordPipe;
  5. out vec4 colorOut;
  6. void main() {
  7. // colorOut = vec4(0.0, 0.0, 0.0, texture(textureIn, texCoordPipe).r); // TODO blend alpha
  8. colorOut = vec4(colorPipe.rgb, texture(textureIn, texCoordPipe).r); // TODO blend alpha
  9. }