ShatteredSword/public/builtin/shaders/sprite.fshader

9 lines
146 B
Plaintext
Raw Permalink Normal View History

2022-04-12 00:08:57 -04:00
precision mediump float;
uniform sampler2D u_Sampler;
varying vec2 v_TexCoord;
void main(){
gl_FragColor = texture2D(u_Sampler, v_TexCoord);
}