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

removed duplicate (1 - f0) in implementation notes #2022

Merged
merged 2 commits into from
Sep 13, 2021

Conversation

elalish
Copy link
Contributor

@elalish elalish commented Sep 3, 2021

@WestLangley noticed that for our suggested implementation, if you plug in a pure dielectric material at normal incidence, our equations reduce to f_diffuse = (1 / pi) * (1 - f0)^2 * baseColor, which seems to be an error, as the energy-conservation term (1 - f0) is double-counted. I believe this is the right fix, but would appreciate more eyes on it.

specification/2.0/README.md Outdated Show resolved Hide resolved
@bghgary
Copy link
Contributor

bghgary commented Sep 8, 2021

This PR addresses this issue: #1945

@emackey
Copy link
Member

emackey commented Sep 9, 2021

@lexaknyazev What is the cutoff for getting fixes like this copied into jon-adoc?

@elalish
Copy link
Contributor Author

elalish commented Sep 13, 2021

Ping for merge, now that this has been discussed on the call?

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.

Diffuse Color input from metal/rough seems to be too energy conservative in the implementation section
4 participants