Game Development Community

SunLight again

by Howard Dortch · in · 01/10/2005 (4:04 pm) · 1 replies

I want to create a dark scene but still have some ambient light. I moved the sun below the horizon and fudged the ambient to get what I want. Problem is the sun still lights things like the edges of my interior objects. I added receiveSunLight = "0"; to interiors that I added but you can still see the edges lit up. Any Idea how to keep some ambient and kill the sun?

#1
01/10/2005 (8:11 pm)
Hi Howard,

Try setting the Sun's color and ambient to '0 0 0'. This will remove all lighting contribution from the sun, you can then slowly increase the ambient value until finding the effect you're looking for.

-John