~starkingdoms/starkingdoms

ref: 0ef10cca9b893e0ddb5e2a51e1152368fa93f9be starkingdoms/crates/client/src/assets/shaders/fragment.glsl -rw-r--r-- 188 bytes
0ef10ccaghostly_zsh i'm going insane because of rebase 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 300 es

precision mediump float;

in vec2 v_pos;
in vec2 v_texcoord;

out vec4 FragColor;

uniform sampler2D sprite;

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