TheMatador Posted February 5, 2014 Share Posted February 5, 2014 Is it possible to have the darkness effect similar to Amnesia(when you have your lantern out and you can't see anything farther than a certain distance)? 1 Quote Link to comment Share on other sites More sharing options...
gamecreator Posted February 5, 2014 Share Posted February 5, 2014 That should be no problem. I haven't done it but I'm pretty sure you can attach a light to the lantern and control how bright it is as well as its range. 1 Quote Link to comment Share on other sites More sharing options...
Rick Posted February 5, 2014 Share Posted February 5, 2014 Click on the root entity in the scene tab to control the ambient lighting. Set all values to 0 and it'll be pure black. Then you add other lights to your scene. 2 Quote Link to comment Share on other sites More sharing options...
Shirk Posted February 5, 2014 Share Posted February 5, 2014 Are you able to change the ambient lighting at all within a script? I could see that being useful for something like this. When you pull out your flashlight/lantern, the ambient light drops to 0, or when you crouch your "night vision" kicks in and the ambient lighting brightens up a bit allowing you to see in the shadows. Quote Link to comment Share on other sites More sharing options...
Rick Posted February 5, 2014 Share Posted February 5, 2014 I think it's in the world object. Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 5, 2014 Share Posted February 5, 2014 World:SetAmbientLight() Quote It doesn´t work... why? mhmmm It works... why? 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.