"Background" Light

Started by
2 comments, last by JoeyBlow2 18 years, 1 month ago
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?
Advertisement
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.
How exactly do I implement low intensity ambient light to my whole scene :P? (fixed function?)
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.

This topic is closed to new replies.

Advertisement