-
Notifications
You must be signed in to change notification settings - Fork 25
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
Transmission_color logic #4
Comments
Assuming (as I do...) that in a path tracer implementation we'd go for option 2, should we have some standard to define what units is depth supposed to be working in? this would be helpful for exchanging materials. |
Thanks for reporting this! Both behaviors can be obtained, in fact. But the specular transmission description was confusing. I've expanded it to explain that Note that the OSL implementation currently doesn't handle medium absorption (i.e. ignores the Regarding the unit of |
Hello,
I am finding what looks like a conflict in the documentation for transmission_color.
in the graph definition we see a coefficient to transmission:
transmission_sheen_mix = transmission * transmission_color * specular_btdf(...) + (1 - transmission) * sheen_layer;
That implies a constant (or textured) color plugged straight as a multiplier.
transmission_color: tint due to absorption
transmission_depth: the distance travelled inside the material by white light before its color becomes exactly transmission_color by Beer's law
This implies a depth-based effect. In this case texturing it is not recommendable as it would be a volume effect.
Which one should it be?
The text was updated successfully, but these errors were encountered: