Skip to content

Commit

Permalink
Fixing skybox
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoRean committed Sep 22, 2023
1 parent a8040c5 commit 4bfba2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extremeMakeoverHomeEdition.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async function basicScene(engine) {
var skybox = BABYLON.MeshBuilder.CreateBox("skyBox", {size:70.0}, scene);
var skyboxMaterial = new BABYLON.StandardMaterial("skyBox", scene);
skyboxMaterial.backFaceCulling = false;
skyboxMaterial.reflectionTexture = await new BABYLON.CubeTexture("skybox/", scene);
skyboxMaterial.reflectionTexture = await new BABYLON.CubeTexture("skybox/*.png", scene);
skyboxMaterial.reflectionTexture.coordinatesMode = BABYLON.Texture.SKYBOX_MODE;
skyboxMaterial.diffuseColor = new BABYLON.Color3(0, 0, 0);
skyboxMaterial.specularColor = new BABYLON.Color3(0, 0, 0);
Expand Down

0 comments on commit 4bfba2f

Please sign in to comment.