shader-program icon indicating copy to clipboard operation
shader-program copied to clipboard

How do the colors work?

Open Sh1mz opened this issue 4 years ago • 0 comments

So the colors are controlled by color.push( 0, 1 - ( x / width ) * 1, 0.5 + x / width * 0.5, z / depth ), but what's the color model?

I thought it was RGBA but since it uses such small values it can't be that.

Sh1mz avatar Jun 03 '21 18:06 Sh1mz