cave-story-solaris/src/Backends/WiiU/shader sources/glyph.frag
2020-04-21 12:45:37 +01:00

9 lines
No EOL
246 B
GLSL

#version 150 core
layout(location = 0) uniform sampler2D tex;
layout(location = 0) uniform vec4 colour;
in vec2 texture_coordinates;
out vec4 fragment;
void main()
{
fragment = colour * vec4(1.0, 1.0, 1.0, texture(tex, texture_coordinates).r);
}