mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 06:55:02 +01:00
12 lines
202 B
GLSL
12 lines
202 B
GLSL
in vec2 f_coords;
|
|
|
|
#texture (tex1, 0, R)
|
|
uniform sampler2D tex1;
|
|
|
|
layout(location = 0) out uvec4 out_color;
|
|
|
|
void main()
|
|
{
|
|
out_color = uvec4(uint(texture(tex1, f_coords).r * 65535.0), 0, 0, 0xFFFF);
|
|
}
|