1
0
Fork 0
space-capture/scenes/backgrounds/background_nebula.gdshader
2024-08-24 18:00:26 +02:00

11 lines
344 B
Text

shader_type canvas_item;
uniform sampler2D noise: repeat_enable;
void fragment() {
float r = texture(noise, FRAGCOORD.xy * .0005 + .0).r;
float g = texture(noise, FRAGCOORD.xy * .0005 + .1).r;
float b = texture(noise, FRAGCOORD.xy * .0005 + .2).r;
float a = texture(noise, FRAGCOORD.xy * .0002 + .3).r * .35;
COLOR = vec4(r, g, b, a);
}