Player-field manipulations
This commit is contained in:
parent
9ced321538
commit
74759e9e16
21 changed files with 270 additions and 54 deletions
7
assets/shaders/gui_masking.gdshader
Normal file
7
assets/shaders/gui_masking.gdshader
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
uniform sampler2D mask : filter_nearest;
|
||||
|
||||
void fragment() {
|
||||
COLOR.a = texture(mask, UV).a * COLOR.a;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue