CSE380/hw3/dist/builtin/shaders/sprite.fshader

9 lines
146 B
Plaintext
Raw Normal View History

2022-05-23 06:00:37 -04:00
precision mediump float;
uniform sampler2D u_Sampler;
varying vec2 v_TexCoord;
void main(){
gl_FragColor = texture2D(u_Sampler, v_TexCoord);
}