fontTest.fs 206 B

123456789101112
  1. #version 430
  2. layout(binding = 0) uniform sampler2D samp;
  3. in vec4 varColor;
  4. in vec2 varTex;
  5. out vec4 outColor;
  6. void main(void) {
  7. outColor = vec4(varColor.xyz, varColor.w * texture(samp, varTex).x);
  8. }