Derpius/VisTrace

[feature] Anisotropic reflections

Closed this issue · 2 comments

Describe the solution you'd like
Replace yocto-gl's isotropic distribution and geometry terms with anisotropic versions.

Additional context
https://jcgt.org/published/0007/04/01/paper.pdf

Converting roughness and anisotropy parameters to x and y roughness
image

After further research it seems there are already established formulas for implementing a mapping from anisotropy+roughness to x and y roughness that are more artist friendly