Sign in to follow this  
phb5000

"Background" Light

Recommended Posts

How can I add low intensity background light (i guess ambient light). But I dont want it to light up everything with full intensity, just low intensity so that it isnt black on certain directions when using spot or point lights. Should I make a vertex shader?

Share this post


Link to post
Share on other sites
Well, how are you doing your current lighting? Are you using the fixed function pipeline or are you using shaders? It does sound to me like you want ambient light, just set to a very low level so that things aren't pitch black. If you already have some form of ambient light, try turning it down quite low.

Share this post


Link to post
Share on other sites
Yes, ambient light renderstate.

Also you need to create materials for your objects. You can specify how much the material will return. That way you can leave everything reflecting no ambient light for those you want that way, and for the background have it return the ambient light.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this