Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//Referred from https://playground.babylonjs.com/#0YT4XN#5
var pointLight = new BABYLON.PointLight("light1", new BABYLON.Vector3(0, 0, 0), scene);
pointLight.intensity = 2;
pointLight.diffuse = new BABYLON.Color3(0.59, 0.48, 0.33)
pointLight.parent = sphere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment