Няма описание

12345678910111213
  1. #version 450
  2. layout (binding = 0) uniform sampler2D fontSampler;
  3. layout (location = 0) in vec2 inUV;
  4. layout (location = 1) in vec4 inColor;
  5. layout (location = 0) out vec4 outColor;
  6. void main()
  7. {
  8. outColor = inColor * texture(fontSampler, inUV);
  9. }