ShatteredSword/dist/builtin/shaders/sprite.fshader

9 lines
146 B
Plaintext
Raw Permalink Normal View History

2021-02-15 19:44:47 -05:00
precision mediump float;
uniform sampler2D u_Sampler;
varying vec2 v_TexCoord;
void main(){
gl_FragColor = texture2D(u_Sampler, v_TexCoord);
}