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

MeshPhysicalMaterial: fix double application of transmission factor #22331

Merged
merged 1 commit into from
Aug 15, 2021

Conversation

WestLangley
Copy link
Collaborator

Related: Issue (6) in #22009.

transmission factor was applied twice. Below is the result of a furnace test with material.transmisson set to 0.5. **

Screen Shot 2021-08-14 at 10 25 57 AM

In a furnace test, the sphere slices should render the same color as the background -- for all values of transmission.

With this PR, they do.

//

** specularIntensity was set to zero in this test. There are specular energy-conserving issues which need to be addressed separately.

@WestLangley WestLangley added this to the r132 milestone Aug 14, 2021
@mrdoob mrdoob merged commit 35698b5 into mrdoob:dev Aug 15, 2021
@mrdoob
Copy link
Owner

mrdoob commented Aug 15, 2021

Thanks!

@WestLangley WestLangley deleted the dev_transmission_factor branch August 15, 2021 15:44
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

Successfully merging this pull request may close these issues.

2 participants