Created
May 29, 2022 00:01
-
-
Save flushpot1125/18731930c812f53b5a5d0bc24913bc86 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This creates and positions a free camera (non-mesh) | |
var camera = new BABYLON.FreeCamera("camera1", new BABYLON.Vector3(0, 5, -10), scene); | |
var backgroundMaterial = new BABYLON.BackgroundMaterial("backgroundMaterial", scene); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment