Skip to content

Instantly share code, notes, and snippets.

@flushpot1125
Created May 29, 2022 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flushpot1125/18731930c812f53b5a5d0bc24913bc86 to your computer and use it in GitHub Desktop.
Save flushpot1125/18731930c812f53b5a5d0bc24913bc86 to your computer and use it in GitHub Desktop.
// 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