-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Principled IOR mismatch #16
Comments
IOR=1 is a NaN causing corner-case for microfacet distributions. Because there's no such thing as a rough yet non-existent interface between two media ;) You could add a special case that switches to a non-rough dielectric, or simply enforce a lower bound of 1.00001 or sth. |
True, but the behavior is inconsistent in the implementation. The rough dielectric bsdf has no problem dealing with it... the principled bsdf however does. So there is a "happy accident" somewhere |
The ior from the principled bsdf (aka. disney bsdf) does not work for all ior values. IOR=1 returns just black
The text was updated successfully, but these errors were encountered: