mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 05:20:06 +01:00
9 lines
234 B
Plaintext
9 lines
234 B
Plaintext
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() {
|
|
COLOR.rgb = textureLod(screen_texture, SCREEN_UV, amount).rgb;
|
|
}
|