KhronosGroup / glTF-Sample-Viewer

Physically-Based Rendering in glTF 2.0 using WebGL
Apache License 2.0
1.21k stars 229 forks source link

KHR_materials_anisotropy #457

Closed abwood closed 1 year ago

abwood commented 1 year ago

Sample implementation of KHR_materials_anisotropy.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

abwood commented 1 year ago

/cc @emackey

emackey commented 1 year ago

Marked as draft due to comment above:

NOTE: This is a work in progress. Still need to tune the IBL response.

emackey commented 1 year ago

The KHR_materials_anisotropy extension has been voted through as a "Release Candidate" and is now ready for implementation.

https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_anisotropy

This branch of Sample Viewer is ready for review. Thanks!

emackey commented 1 year ago

Test models (one for strength, one for rotation) are here:

https://github.com/DrX3D/glTF-Sample-Assets/pull/13

Sample model from Wayfair here:

https://github.com/DrX3D/glTF-Sample-Assets/pull/12

(Don't worry about test fails on DrX3D's new asset repo there, it's a work-in-progress).