How do the SMD Light tags work ingame?
Posted: 05 Dec 2005, 15:55
Trying to make a new improved version of my SMD creator, I want to find out how the Light tags work.
From what I have gathered, the Ambient colour is the colour of the ground when in shadow. The Sun colour is then added to the Ambient colour when the ground is in sunlight.
Going off this imformation, if you have an ambient colour of 0.5, 0.5, 0.5, and a sun colour of 1, 1, 1, would this give a true sun colour of 1.5, 1.5, 1.5? And if so, how does this affect the colour of the ground? Will it appear all washed out?
How does shadow density factor in? Some places state that it is how 'soft' the edges of shadows are, while others say it is a multiplier placed on the Ambient colour.
So, once and for all, how do the light settings actually work? There are to many conflicting ideas floating around for me to be able to make any sence of them at all.
From what I have gathered, the Ambient colour is the colour of the ground when in shadow. The Sun colour is then added to the Ambient colour when the ground is in sunlight.
Going off this imformation, if you have an ambient colour of 0.5, 0.5, 0.5, and a sun colour of 1, 1, 1, would this give a true sun colour of 1.5, 1.5, 1.5? And if so, how does this affect the colour of the ground? Will it appear all washed out?
How does shadow density factor in? Some places state that it is how 'soft' the edges of shadows are, while others say it is a multiplier placed on the Ambient colour.
So, once and for all, how do the light settings actually work? There are to many conflicting ideas floating around for me to be able to make any sence of them at all.