How can i import texture from babylon Library


I’m currently doing my first project with babylonjs and have very little experience in coding.

My project is a small golf game and I want to integrate a skybox with a texture.

For that I found this code:

However when I put it in my project the texture is not present.

I guess I have to import this texture because I’m not in the ‘Playground’ but even after searching I have no idea how to do this.

If a gentleman could come to my aid that would be great!

ask me if you need more information

Hi, you have to put the textures in your project directory (actually here it’s 6 textures composing the skybox), the ones you use in the playground are here Babylon.js/packages/tools/playground/public/textures at master · BabylonJS/Babylon.js · GitHub


Perfect thanks for the help !