none-9999 Posted May 30, 2017 Share Posted May 30, 2017 luz_punto=new BABYLON.PointLight("Omni0", new BABYLON.Vector3(0, 3, 0), escena); luz_punto.diffuse = new BABYLON.Color3(1, 1, 1); luz_punto.specular = new BABYLON.Color3(0, 0, 0); luz_punto.intensity = 10.0; luz_spot = new BABYLON.HemisphericLight("Hemi0", new BABYLON.Vector3(0, 1, 0), escena); luz_spot.diffuse = new BABYLON.Color3(1,.5,1); luz_spot.specular = new BABYLON.Color3(1, 1, 1); luz_spot.intensity =100; //luz_punto.parent = camara; skyMaterial = new BABYLON.SkyMaterial("skyMaterial", escena); skyMaterial.backFaceCulling = false; skyMaterial.inclination = 0.5; // The solar inclination, related to the solar azimuth skyMaterial.azimuth = 0.50; // The solar azimuth in interval [0, 1] skyMaterial.luminance = 0.5; skyMaterial.turbidity = 50; skyMaterial.useSunPosition = true; // Do not set sun position from azimuth and inclination skyMaterial.sunPosition = new BABYLON.Vector3(0, 100, 0); skybox = BABYLON.Mesh.CreateBox("skyBox", 1000.0, escena); skybox.material = skyMaterial; v 3.0 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 30, 2017 Share Posted May 30, 2017 Anything in the console? Quote Link to comment Share on other sites More sharing options...
none-9999 Posted May 31, 2017 Author Share Posted May 31, 2017 thanks, solved with procedural clouds. Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted June 1, 2017 Share Posted June 1, 2017 Can you anyway share the errors you have in the console ? It would be useful for us in order to fix it thanks ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.