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

Let's make the BxDFs more consistent! #2653

Merged
merged 4 commits into from
Nov 10, 2022
Merged

Conversation

LVutner
Copy link
Contributor

@LVutner LVutner commented Nov 9, 2022

A small batch of BxDF fixes for Armory, to make shading a bit more consistent with Eevee render.

Baked with matching shadowing and fresnel term used in Armory3D
It's done for consistency and correctness. Althrough, uncorrelated smith approx isn't super accurate.
I forgot that NdotL cancels out, and G2 goes negative under certain conditions
@LVutner
Copy link
Contributor Author

LVutner commented Nov 9, 2022

More stuff coming soon

@luboslenco luboslenco merged commit 4fec3fd into armory3d:main Nov 10, 2022
@luboslenco
Copy link
Member

Thanks a lot!

@e2002e
Copy link
Contributor

e2002e commented Nov 10, 2022

There's a typo line 265 in deferred_light.frag: envl is writen env1

@MoritzBrueckner
Copy link
Collaborator

Fixed in 1f6c14a, I don't think it needs an extra PR :)

@MoritzBrueckner MoritzBrueckner added the Release Notes: Changes A pull request that is a feature change, not a fix. Used to generate release notes. label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Notes: Changes A pull request that is a feature change, not a fix. Used to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants