Convert visual gradients to optimized GLSL code
Sequential lerp between color stops using GLSL's mix() and smoothstep().
Exact reproduction of your gradient. Best for complex gradients with many stops.
Fits R, G, B channels to polynomial curves. Fewer instructions, smooth results. Works best for simple gradients (2-4 colors). May overshoot on complex gradients.
Export as a 1D texture strip to sample in your shader. Perfect accuracy, single texture fetch. Best for complex gradients or when you need exact colors.
Hard-edged color bands without blending. Great for posterized/retro looks, color quantization, or when you need distinct color regions.