Files
test2/source/blender/gpu/shaders/gpu_shader_display_fallback_vert.glsl
Campbell Barton 9cee0eb7fa Cleanup: format
2023-02-28 15:44:49 +11:00

12 lines
193 B
GLSL

vec2 normalize_coordinates()
{
return (vec2(2.0) * (pos / fullscreen)) - vec2(1.0);
}
void main()
{
gl_Position = vec4(normalize_coordinates(), 0.0, 1.0);
texCoord_interp = texCoord;
}