This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
api8/shaders/credits.fs

11 lines
191 B
Forth
Raw Normal View History

2023-05-03 17:24:54 +02:00
#version 330
2023-05-27 04:22:31 +02:00
2023-05-03 17:24:54 +02:00
uniform sampler2D tex;
in vec2 vsoTexCoord;
out vec4 fragColor;
void main(void) {
vec4 c = texture(tex, vsoTexCoord);
2023-05-12 11:56:18 +02:00
fragColor = vec4(c.rgb, length(c.rgb) > 0 ? 1 : 0);
2023-05-03 17:24:54 +02:00
}