added pause menu

This commit is contained in:
derek
2024-10-30 15:52:02 -05:00
parent 7c32586348
commit 0b3f46ae0f
14 changed files with 391 additions and 83 deletions

14
pause_menu.gdshader Normal file
View File

@@ -0,0 +1,14 @@
shader_type canvas_item;
uniform sampler2D screen_texture: hint_screen_texture, filter_linear_mipmap;
uniform float amount: hint_range(0.0,5.0);
void fragment() {
vec4 color =textureLod(screen_texture, SCREEN_UV, amount);
COLOR = color;
}
//void light() {
// Called for every pixel for every light affecting the CanvasItem.
// Uncomment to replace the default light processing function with this one.
//}