KhronosGroup / glTF-Compressor

To store the source code for the glTF-Compressor project
Other
58 stars 6 forks source link

Anisotropy support #5

Closed echadwick-artist closed 9 months ago

echadwick-artist commented 1 year ago

glTF-Compressor seems to be using an outdated version of glTF Sample Viewer, because anisotropy is not supported here.

  1. Download a GLB which uses KHR_materials_anisotropy, for example https://github.com/KhronosGroup/glTF-Sample-Assets/blob/main/Models/AnisotropyStrengthTest/glTF-Binary/AnisotropyStrengthTest.glb
  2. Go to https://phasmatic3d.github.io/glTF-Sample-Viewer-KTX-demo/
  3. Drag and drop the GLB into the 3d view.

Result: Anisotropy is not being rendered. Also in the Advanced Controls tab KHR_materials_anisotropy is not shown under Disable Extensions.

image

ViNeek commented 9 months ago

Commit af160e0505ca94375204a6c38dd944e75cf66d2d added proper support for anisotropy.