~starkingdoms/starkingdoms

ref: d5706c8e307eeefbc90391bd7f421e4114d3b8cd starkingdoms/crates/client/src/shaders/vertex.glsl -rw-r--r-- 197 bytes
d5706c8e — ghostly_zsh texture support 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
precision mediump float;

in vec2 pos;
in vec2 texcoord;

out vec2 v_pos;
out vec2 v_texcoord;

void main() {
    v_pos = pos;
    v_texcoord = texcoord;
    gl_Position = vec4(v_pos, 0.0, 1.0);
}