mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-14 15:46:06 +09:00
prep for draw glow
This commit is contained in:
8
assets/aonly.frag
Normal file
8
assets/aonly.frag
Normal file
@@ -0,0 +1,8 @@
|
||||
varying vec4 v_color;
|
||||
varying vec2 v_texCoords;
|
||||
uniform sampler2D u_texture;
|
||||
|
||||
void main(void) {
|
||||
float alpha = texture2D(u_texture, v_texCoords).a;
|
||||
gl_FragColor = vec4(alpha, alpha, alpha, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user