Files
armorpaint/armorlab/Shaders/layer_copy_rrrr.frag.glsl
T

11 lines
141 B
GLSL
Raw Normal View History

2023-02-15 18:50:51 +01:00
#version 450
2023-02-08 14:51:54 +01:00
uniform sampler2D tex;
2023-02-15 18:50:51 +01:00
2023-02-08 14:51:54 +01:00
in vec2 texCoord;
out vec4 FragColor;
2023-02-15 18:50:51 +01:00
2023-02-08 14:51:54 +01:00
void main() {
FragColor = textureLod(tex, texCoord, 0).rrrr;
}