opengl2/src/shadertoy.vp.glsl
2025-11-11 08:30:23 -06:00

12 lines
164 B
GLSL

#version 120
attribute vec3 position;
varying vec2 uv0;
void main()
{
gl_Position = vec4(position, 1);
uv0 = vec2(position.x * 720.0 / 480.0, position.y);
}