foumfo Posted March 21, 2018 Share Posted March 21, 2018 Hey everyone, I'm back with yet another question. I have a scene that contains a labyrinth with walls and ground tiles and a pointLight: //light var light = new BABYLON.PointLight("light", new BABYLON.Vector3(0, 0, 0), scene); light.intensity = 1.9; light.range = 20; light.diffuse = new BABYLON.Color3(150/255,150/255,150/255); light.specular = new BABYLON.Color3(180/255,150/255,100/255); As you'll see in the following screenshot (sorry no playground because I'd have to copy a lot of code from many different files), the light escapes through the walls - planes. Is there any way to prevent that? I think it also causes low fps for me when i move the light and the camera Quote Link to comment Share on other sites More sharing options...
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.