Scratch brightness effect

Acts just like the brightness effect from Scratch

Shader code
shader_type canvas_item;

uniform float amount = 0.0;

void fragment() {
	vec4 color = texture(TEXTURE, UV);
	
	color.rgb += amount/100.0;
	
	COLOR = color;
}
Live Preview
Tags
Scratch
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 The2AndOnly

Related shaders

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments