Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Nerdis |
Hey guys,
I´m trying to recreate the following video in Godot Engine 3.1
Link: Youtube Video
But I´m failing. This is my shader code. It don´t shows the texture (yes I set it to the noise parameter)
shader_type canvas_item;
uniform sampler2D noise;
uniform float intensity = 0.05;
void fragment() {
vec2 uv2 = vec2(SCREEN_UV);
uv2 += (texture(noise, uv2 + vec2(TIME/10.0,TIME/1.0)).rgb.rb-vec2(.53))*intensity;
COLOR = vec4(uv2, 1.0, 0.0);
}
I hope you can help me!
Greetings
Nerdis