kubi/shaders/selection_box.frag

10 lines
168 B
GLSL
Raw Normal View History

2023-01-27 21:35:55 -06:00
#version 150 core
out vec4 color;
uniform vec4 u_color;
void main() {
color = u_color;
2023-01-28 15:55:29 -06:00
color -= vec4(0, 0, 0, 0.1 * sin(gl_FragCoord.x) * cos(gl_FragCoord.y));
2023-01-27 21:35:55 -06:00
}