DassaultSystemes-Technology / dspbr-pt

A WebGL2 Enterprise PBR sample renderer
Apache License 2.0
131 stars 19 forks source link

Loading error with KHR_materials_unlit #27

Closed echadwick-artist closed 3 years ago

echadwick-artist commented 3 years ago

metal-rough-transm.zip

  1. https://dassaultsystemes-technology.github.io/dspbr-pt/

  2. Drag and drop the unzippped glTF and its resources. Result: the loading animation never ends.

  3. Disable "use pathtracing". Result: the glTF model is now visible.

  4. Enable "use pathtracing" Result: the model for "metal-roughness-0.01" reappears, along with the loading animation.

Thanks!

echadwick-artist commented 3 years ago

Oops, it's not transmission at fault. It is KHR_materials_unlit which seems to be causing the loading error.

This model loads OK, the only change is to remove Unlit, and use Emissive instead.

unlit_disabled.zip

bsdorra commented 3 years ago

Fixed in 5caf980. Thanks for the reproducer.