Closed HollyDQWang closed 2 years ago
We use disney BRDF; and that \mu term is for energy conservation in this BRDF, I think.
I see, thanks so much for the reply! I realized that it is consistent with this Cornell paper on microfacet brdf..
May I ask if you have a source code reference for this part? I checked the Disney paper and I don’t think there’s official code released.
You might want to check Eq. 8.9 on this page: https://www.pbr-book.org/3ed-2018/Reflection_Models/Microfacet_Models . Note that alpha in that equation equals roughness^2 in this PhySG codebase.
Thanks so much! I now see that the alpha term is consistent with definition in Disney brdf :)
Thanks for the great work and releasing the code!
A quick question for the renderer: in line 175 of sg_rendering.py, why did you use $\frac{1}{roughness ^4 \cdot \pi}$ instead of 1 as the value of $\mu$? Are you using Blinn-Phong's model for the shape of D?