mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-12 06:41:51 +09:00
shaders moved to subdir; console click on the actor to type its id in
This commit is contained in:
9
assets/shaders/aonly.frag
Normal file
9
assets/shaders/aonly.frag
Normal file
@@ -0,0 +1,9 @@
|
||||
varying vec4 v_color;
|
||||
varying vec2 v_texCoords;
|
||||
uniform sampler2D u_texture;
|
||||
|
||||
vec2 boolean = vec2(0.0, 1.0);
|
||||
|
||||
void main(void) {
|
||||
gl_FragColor = texture2D(u_texture, v_texCoords).aaaa * boolean.yyyx + boolean.xxxy;
|
||||
}
|
||||
Reference in New Issue
Block a user