Skip to content

Commit

Permalink
Update index.htm
Browse files Browse the repository at this point in the history
  • Loading branch information
freealise authored Aug 28, 2024
1 parent 1cddd71 commit 18d1eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
resolution: 16,
size: 512
}, scene);
dome.applyDisplacementMap(document.getElementById("bgdepth").value, 0, 255, null, null, null, true, function(e){alert(e);});
scene.getMeshByName("dome_mesh").applyDisplacementMap(document.getElementById("bgdepth").value, 0, 255, null, null, null, true, function(e){alert(e);});

pipeline = new BABYLON.DefaultRenderingPipeline("default", true, BABYLON.Engine.LastCreatedScene, [BABYLON.Engine.LastCreatedScene.activeCamera]);
pipeline.samples = 4;
Expand Down

0 comments on commit 18d1eae

Please sign in to comment.