-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
KHR_materials_anisotropy extension branch. #1798
KHR_materials_anisotropy extension branch. #1798
Conversation
Update from Khronos
d51ac29
to
adfc457
Compare
The schema does not mention which channel |
@UX3D-eckerlein Can you please cross check, if this packing is possible? |
@emackey Your math looks pretty good to me - sorry, I put a couple of comments in your commit, which makes them hard to find. But we definitely need to update the spec a bit more. |
...nsions/2.0/Khronos/KHR_materials_anisotropy/schema/glTF.KHR_materials_anisotropy.schema.json
Outdated
Show resolved
Hide resolved
Co-authored-by: Don McCurdy <[email protected]>
…R_materials_anisotropy.schema.json Co-authored-by: Don McCurdy <[email protected]>
Also removed unused variable from GLSL sample.
Per today's meeting, the anisotropy strength formula has been set.
("alpha" is roughness squared here.) Using the material's roughness along the bitangent (or along the direction perpendicular to the chosen anisotropy direction) allows rasterizers to continue using material roughness as a base lookup into the IBL, unmodified. The tangent direction then needs an approximation such as stretching or multisampling, but only along one axis. |
Co-authored-by: Don McCurdy <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was approved today for "Release Candidate" status by the PBR TSG.
No description provided.