Skip to content
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

reflectance for plastic all 1,1,1 ? #55

Open
michalfratczak opened this issue Feb 3, 2025 · 1 comment
Open

reflectance for plastic all 1,1,1 ? #55

michalfratczak opened this issue Feb 3, 2025 · 1 comment

Comments

@michalfratczak
Copy link

I just noticed that albedo values for all plastics are 1,1,1 - that doesn't sound correct ?

@AntonPalmqvist
Copy link
Owner

When it comes to transparent materials it should be interpreted as Transmission Color.
The API is designed so that the Color field can be used for either albedo (dielectric), reflection color (conductor), or transmission color (transparent).

The idea behind setting Transmission Color to [1, 1, 1] on those plastics is that they're representing a generic transparent plastic, without dirt or color tint.
There can of course be many different variations of these plastics, but I chose to represent a perfectly clean, transparent version where you can easily see the difference in IOR.
I have also not found any reliable data on transmission color and attenuation for these kinds of plastics, so for the time being that perfect, transparent, value is the closest I can get.
An alternative would be to just not show the color value for these materials where no measurements are available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants