- Joined
- Nov 28, 2008
- Messages
- 704
Apologies if this is answered in an obvious way, but no google search or search here found me it.
I was just wondering, how does one create a directional light? I have found the lines required for an omnidirectional:
Light "Omni01" {
Omnidirectional,
static AttenuationStart 0,
static AttenuationEnd 0,
static Intensity 500,
static Color { 0.05, 0.05, 0.2 },
static AmbIntensity 0.2,
static AmbColor { 0.1, 0.1, 0.1 },
}
But how does one get directional?
I was just wondering, how does one create a directional light? I have found the lines required for an omnidirectional:
Light "Omni01" {
Omnidirectional,
static AttenuationStart 0,
static AttenuationEnd 0,
static Intensity 500,
static Color { 0.05, 0.05, 0.2 },
static AmbIntensity 0.2,
static AmbColor { 0.1, 0.1, 0.1 },
}
But how does one get directional?