Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shader_type canvas_item;
- uniform float whitening;
- void fragment() {
- vec4 texture_color = texture(TEXTURE, UV);
- COLOR = vec4(mix(texture_color.rgb, vec3(1,1,1), whitening), texture_color.a);
- }
Advertisement
Add Comment
Please, Sign In to add comment