Oklab normal map matcap
Alec Jacobson
December 18, 2024
weblog/
Here's a
matcap
to render normals in camera-space using pseudo-colors on a sphere in the
'oklab'
color space.
And here's an ok dragon.
Here I'm using the same colormap to color points sampled on a sphere using a
Fibonacci sampler
. (btw, you can do this kind of sampling in higher dimensions, too.
Marc Alexa
does it for 𝕊³, which you can in turn treat as quaternions to gettt a distribution of 3D rotation matrices. I've
reimplemented
that.).