~starkingdoms/starkingdoms

ref: 830d0b9543b30e419d6b00d66a9bfdc2411524ae starkingdoms/crates/client/src/shaders/fragment.glsl -rw-r--r-- 171 bytes
830d0b95 — ghostly_zsh mostly working chatbox and inputs to egui windows no longer go to the game 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
precision mediump float;

in vec2 v_pos;
in vec2 v_texcoord;

out vec4 FragColor;

uniform sampler2D sprite;

void main() {
    FragColor = texture(sprite, v_texcoord);
}