Hi guys,
I try to download some of my old files made with BabylonJs Library and reuse it but faces some error when compiling it with vs code.
Here is the excerpt of my code.
var nrmtexture = new BABYLON.Texture("textures/shirt_normal.png", scene, true, false);
var spectexture = new BABYLON.Texture("textures/shirt_spec.png", scene, true, false);
myGoodMat.reflectionTexture = new BABYLON.HDRCubeTexture("textures/abandoned_factory_canteen_02_2k.hdr", scene, 218, false, false, false, false);
myGoodMat.bumpTexture = nrmtexture;
myGoodMat.specularTexture = spectexture;
myGoodMat.metallic = 0;
myGoodMat.roughness = 1;
**I already use the relative path for my code, why the error message still pops up and the maps dont show as usual?