KhronosGroup / glTF-Sample-Viewer

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

glTF "extensionsRequired" not respected #513

Closed emackey closed 4 months ago

emackey commented 5 months ago

If the sample viewer loads a glTF asset with an extensionsRequired array, it should check each string in the array against a list of names of extensions supported by the Sample Viewer. If an asset requires an extension that's unknown to the viewer, the viewer should place a nice message on the screen instead of attempting to render the asset.

(Note the extensionsUsed array is separate, and does not need any check here.)