shader-web-test/vert.shader
stitchy 7731836f6a
initial commit
Currently has a working website with half of two images displayed.
Please find your own images
2024-12-17 07:20:25 +00:00

13 lines
236 B
GLSL

#version 300 es
precision highp float;
in vec2 vertex_position;
out vec2 texture_coordinates;
void main() {
gl_Position = vec4( vertex_position, 0.5, 1.0 );
texture_coordinates = vec2( (vertex_position + vec2(1.0) ) / 2.0 );
}