Remove texture | Babylon.js Playground (babylonjs.com)
with line 44
material.useParallax = true;
.
When I click on the remove texture button I created, it causes the sphere to turn black.
However, if I comment line 44, I can remove the texture without any problem.
I also found that with useParallax set to true, when I just use inspector to remove the bumpTexture first and then remove the other textures, the bump texture seems to be cached and cannot be removed correctly. But if I remove all other textures first, and remove the bump texture last, then the texture removal seems to be alright.
I’m not sure is it my problem or this is a bug