I’m creating a simple plane with PBRMaterial on it. I’m applying an albedotexture and setting the unlit property to true. Then I’m using the export to glb option in the inspector to export the scene as a glb model.
It works correctly for StandardMaterial but when I switch it to PBRMaterial it doesn’t export the material/texture the created glb file has no texture.
Below is the same plane in another viewer. As you can see most of the plane is black and from what I can understand it’s somehow writing the canvas pixel values onto the plane. The purple border around the artwork is coming from the babylonjs canvas background, and it is being applied on to the plane as a texture.
I could probably look a little later in the week, though it sounds like it may require @roland’s other fix first, and it also sounds like @roland might already be looking?