prosperon/shaders/screenfill.cg
2024-10-03 23:35:40 -05:00

23 lines
213 B
Plaintext

@vs vs
in vec3 a_pos;
void main()
{
vec3 pos = a_pos;
pos -= 0.5;
pos *= 2;
gl_Position = vec4(pos.xy, 0, 1.0);
}
@end
@fs fs
out vec4 color;
void main()
{
color = vec4(1.0);
}
@end
@program p vs fs