-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
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
Anisotropic (and rotated anisotropic) reflections that work with IBL / PMREM #9250
Comments
The solution to this is "bend normals." |
Myself and https://github.com/Threekit are pleased to put a bounty of $250 USD on an accepted PR of a full implementation of bent normals for anisotropy with environment maps. A really good reference implementation and explanation is in the Filament code base: https://github.com/google/filament/blob/df6a100fcba66d9c99328a49d41fe3adecc0165d/shaders/src/common_lighting.fs#L89 |
Hey, I was looking at this problem and I have some questions on how it is supposed to be implemented. |
Ideally, it is added to |
This is implemented since |
Description of the problem
We should probably implement in the core of ThreeJS anisotropic reflections and anisotropy rotation. I've implemented this in Clara.io but only for direct lights, not the PMREM filtered IBL indirect lights.
It would be cool to have anisotropy that works with IBL PMREM results -- although I understand that this may require pre-calculated anisotropic PMREM which we currently do not have, or PMREM filtering is only isotropic.
My implementation produces results that looks like this:
https://clara.io/view/a8b929e6-c703-47ff-a85d-44bc44e5a132
Three.js version
Browser
OS
The text was updated successfully, but these errors were encountered: