Radial Blur

Blurs an image using radial blur

Shader code
shader_type canvas_item;

// --- Functions --- //
void fragment() {
	COLOR.rgb = (texture(TEXTURE, UV) + 
			texture(TEXTURE, UV * 0.99 + 0.5*0.01) +
			texture(TEXTURE, UV * 0.98 + 0.5*0.02) +
			texture(TEXTURE, UV * 0.97 + 0.5*0.03) +
			texture(TEXTURE, UV * 0.96 + 0.5*0.04) +
			texture(TEXTURE, UV * 0.95 + 0.5*0.05) +
			texture(TEXTURE, UV * 0.94 + 0.5*0.06) +
			texture(TEXTURE, UV * 0.93 + 0.5*0.07) +
			texture(TEXTURE, UV * 0.92 + 0.5*0.08) +
			texture(TEXTURE, UV * 0.91 + 0.5*0.09)).rgb / 10.0;
}
Tags
blur, radial blur
The shader code and all code snippets in this post are under CC0 license and can be used freely without the author's permission. Images and videos, and assets depicted in those, do not fall under this license. For more info, see our License terms.

More from KingToot

Erase

Panning

Radar Blip Ring

Related shaders

Radial Blur

Radial Blur Shader

3D Radial Motion Blur Shader For Propellers and Wheels

Subscribe
Notify of
guest

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
LordBoots
LordBoots
8 months ago

Hey bud,

I’m the guy that made the post about this site on Reddit.

Glad to see you’ve posted most of your shaders here!

They look great.