Roof texture lost when using webgpu

let roofMaterial = new StandardMaterial("roofMaterial");
roofMaterial.diffuseTexture = new Texture("src/assets/roof.jpg", scene);
roof.material = roofMaterial;

but the texture of the main body of the house is still there, no problem in the webgl environment

It won t be possible to help without a repro :frowning:

1 Like

https://playground.babylonjs.com/#KBS9I5#71

switching to webgpu brings up

Ohhh it looks like jpg are not working in WebGPU, @Evgeni_Popov is it a known limitation ?

Possibly related, webgpu does not support rgb texture format:

I guess a fix would be to convert to png to get the alpha channel back :thinking:

It’s a problem with the file itself, see my answer here:

2 Likes

You are the best !!!