This repository has been archived on 2024-05-12. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
GMTK-2023/Menus/PauseMenu/pause_menu_blur.gdshader

7 lines
238 B
Text

shader_type canvas_item;
uniform float lod: hint_range(0.0, 10) = 5;
uniform sampler2D SCREEN_TEXTURE : hint_screen_texture, filter_linear_mipmap;
void fragment() {
vec4 color = texture(SCREEN_TEXTURE, SCREEN_UV, lod);
COLOR = color;
}