jsocol / indirect3d

The worst pure-software 3D engine ever!

Home Page:http://jamessocol.com/indirect3d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do line color interpolation in CIELAB space

jsocol opened this issue · comments

It's a subtle thing for lines but it looks better, and will be more consistent with triangles. Convert vertex colors (after any lighting/material calculations) into CIELAB and do the color interpolation on those values, then convert back to sRGB.