adds new font, adapts debug level and monster spawning
This commit is contained in:
parent
e8f06e7b99
commit
6ce579026b
15 changed files with 279 additions and 30 deletions
12
shaders/blur.gdshader
Normal file
12
shaders/blur.gdshader
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
uniform float blur_amount : hint_range(-2.0, 10.0);
|
||||
uniform float mix_amount : hint_range(0.0, 1.0);
|
||||
uniform vec4 color_over : source_color;
|
||||
uniform sampler2D SCREEN_TEXTURE: hint_screen_texture, filter_linear_mipmap;
|
||||
|
||||
void fragment() {
|
||||
vec4 blurred = textureLod(SCREEN_TEXTURE, SCREEN_UV, blur_amount);
|
||||
vec4 fin = mix(blurred, color_over, mix_amount);
|
||||
COLOR = fin;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue