summaryrefslogblamecommitdiffstats
path: root/cwd/shaders/entity.fs
blob: 6935d1b6e11a3eb006c613b92fc27b7b2722e67d (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                  
#version 330 core

uniform vec3 color;
in vec2 uvPos;

void main(){
    if (uvPos.x < 0.9 && uvPos.x > 0.1 && uvPos.y < 0.9 && uvPos.y > 0.1) discard;
    gl_FragColor = vec4(color,1);
}