No Description

text.frag 249B

12345678910111213
  1. #version 450 core
  2. layout (location = 0) in vec2 inUV;
  3. layout (binding = 0) uniform sampler2D samplerFont;
  4. layout (location = 0) out vec4 outFragColor;
  5. void main(void)
  6. {
  7. float color = texture(samplerFont, inUV).r;
  8. outFragColor = vec4(color);
  9. }