Texture not displaying for Sheen Extension

The sheen textures are not displaying properly when loading in a GLB with the sheen extension. The bug seems to of been introduced around 5.11.0. It worked in some of the earlier versions of 5.0 that we’ve been using, but broke once we updated to 5.13.0.

PG: Babylon.js Playground

If you use the inspector to toggle some of the sheen options, it seems to fix it, until the toggle is set again, and then it is broken again and changing the toggle again has no effect. Very strange…

cc @Evgeni_Popov

Here’s a PR to fix this. It stems from my earlier PR that requires this plugin to be updated too, sorry for the hiccup. :slight_smile:

EDIT: and here’s the PG with the PR merged for testing:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/12740/merge/index.html#S4AGD4

4 Likes