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

Fixes incorrect Schlick Fresnel for IBL lighting #1634

Merged
merged 1 commit into from
Aug 23, 2021

Conversation

JGamache-autodesk
Copy link
Collaborator

  • Affects only Light API V2 (requires env var to activate)

For environment mapping, we assume symmetric reflection around the normal, which means the half vector H is actually equal to the normal N. The value of dot(E, H) then becomes equal to the value previously found and used for dot(N, E).

This fixes a highlight artifacts seen when looking at the Damaged Helmet asset from below as shown in this before and after image:
IncorrectFresnel

- Affects only Light API V2 (requires env var to activate)
@JGamache-autodesk JGamache-autodesk added the ready-for-merge Development process is finished, PR is ready for merge label Aug 18, 2021
@seando-adsk seando-adsk merged commit 8d7b6a7 into dev Aug 23, 2021
@seando-adsk seando-adsk deleted the t_gamaj/fix_incorrect_environment_lighting branch August 23, 2021 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
materials ready-for-merge Development process is finished, PR is ready for merge vp2renderdelegate Related to VP2RenderDelegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants