Invert Color KingToot May 13, 2024November 6, 2026 Report Inverts the color of a texture by subtracting the original color value from 1.0 Example: (0.28, 0.55, 0.75) => (0.72, 0.45, 0.25) Shader codeshader_type canvas_item; // --- Functions --- // void fragment() { COLOR.rgb = 1.0 - COLOR.rgb; } Live Preview Tagsinverse, invert, reverse
Comments 0
No comments yet.