TV noise effect

Simple TV noise effect.

Got it from here: https://www.youtube.com/watch?v=x_s0LmQgjfU

Shader code
shader_type canvas_item;

uniform float amount = 40.0;

void fragment() {
	vec2 uv = UV*0.05;
	float a = fract(sin(dot(UV, vec2(12.9898, 78.233) * TIME)) * 438.5453) * 1.9;
	vec4 col = texture(TEXTURE, UV);
	col.a *= pow(a, amount);
	COLOR.a = col.a;
}
Live Preview
Tags
CRT, noise, Static
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.

Related shaders

guest

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
maulinux
maulinux
3 years ago

nice noice

Joyless
1 year ago

I improved it by keeping the correct pixel colours:

shader_type canvas_item;

uniform float amount = 40.0;

void fragment() {
	vec2 uv = UV * 0.05;
	float a = fract(sin(dot(UV, vec2(12.9898, 78.233) * TIME)) * 438.5453) * 1.9;
	COLOR.a *= clamp(pow(a, amount), 0, 1);
}

Feel free to use, also CC0.