immersive-home/content/ui/menu/room/room_menu.gdshader
2023-11-29 22:24:38 +01:00

10 lines
276 B
Plaintext

shader_type spatial;
render_mode unshaded, cull_disabled;
uniform sampler2D SCREEN_TEXTURE : hint_screen_texture;
uniform float blur_amount: hint_range(0.0, 5.0, 0.1) = 2;
void fragment() {
vec4 lod = textureLod(SCREEN_TEXTURE, SCREEN_UV, blur_amount);
ALBEDO = lod.xyz;
}