I’m trying to figure out why my dynamic textures are missing when exported to glb.
It seems like it’s working in Standard Materials, but not PBR.
- Open https://playground.babylonjs.com/#5ZCGRM#4833
- Export to GLB
- Open in https://sandbox.babylonjs.com
Exact same steps, but with Standard materials works fine: https://playground.babylonjs.com/#5ZCGRM#2
Standard material, changing diffuseTexture to opacityTexture also prevents dynamic textures getting exported:
_resizeTexturesToSameDimensions called in
_convertSpecularGlossinessTexturesToMetallicRoughnessAsync that resize the dynamic texture causing the bug. You can add a same size reflectivityTexture or setting metallic/roughness to enable metallicRoughness work flow as a temp resolution.