mirror of
https://github.com/marinho/godot-visual-effects.git
synced 2025-01-04 00:23:32 +08:00
10 lines
226 B
Plaintext
10 lines
226 B
Plaintext
|
shader_type canvas_item;
|
||
|
|
||
|
uniform float lod : hint_range(0.0, 5.0) = 0.0;
|
||
|
uniform sampler2D SCREEN_TEXTURE : hint_screen_texture, filter_linear;
|
||
|
|
||
|
void fragment() {
|
||
|
vec4 col = texture(SCREEN_TEXTURE, UV, lod);
|
||
|
COLOR = col;
|
||
|
}
|