Lighting big areas

Lighting big areas

Re: Lighting big areas Posted by max_morgon on Sun Apr 16th 2006 at 2:27pm
max_morgon
5 posts
Posted 2006-04-16 2:27pm
5 posts 1 snarkmarks Registered: Apr 16th 2006
<div style="text-align: left;">Hello there, I am new to making maps and I am having trouble to light an outdoor area
which is abit like counterstrike de_dust. my problem is that I want to light it so all the place outside would have strong light which casts shadows and which is same strength all over the map. I've tried enviroment lights and normal lights and I just couldn't get the effect.
should I use a load of lights all over the map or something like that?html><head><link rel="stylesheet" href="themes/standard.css" type="text/css"></head><body topmargin=2 leftmargin=2></div>
Re: Lighting big areas Posted by Orpheus on Sun Apr 16th 2006 at 2:42pm
Orpheus
13860 posts
Posted 2006-04-16 2:42pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
I am confused. Are you asking if you can use a light_environment?

I am not positive, but there should be tutorials on lighting here. Look up "Light_environmental"

[edit]

angle it down and pitch it to... 30*

assuming its still like HL1.

[edit 2]

I bet someone will say "Cube_maps" :lol:

The best things in life, aren't things.
Re: Lighting big areas Posted by fishy on Sun Apr 16th 2006 at 2:46pm
fishy
2623 posts
Posted 2006-04-16 2:46pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
use a light_environment. the Pitch value determins the downward angle of the sun. 0 is horizontal, and -90 is straight down.

the compass (top right of the properties box)dictates the N,S,E,W direction that the light will be cast from.

the exact value that you should use will probably be trial and error, to get the light direction to line up with wherever the sun is in the sky that you use.
i eat paint
Re: Lighting big areas Posted by Orpheus on Sun Apr 16th 2006 at 2:51pm
Orpheus
13860 posts
Posted 2006-04-16 2:51pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Cool. Fishy would know, and he more/less said what I said.

The best things in life, aren't things.
Re: Lighting big areas Posted by max_morgon on Sun Apr 16th 2006 at 5:30pm
max_morgon
5 posts
Posted 2006-04-16 5:30pm
5 posts 1 snarkmarks Registered: Apr 16th 2006
Thanks alot, you answered very fast too. =3
Re: Lighting big areas Posted by Orpheus on Sun Apr 16th 2006 at 5:44pm
Orpheus
13860 posts
Posted 2006-04-16 5:44pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
You do have to set the angle to down. Why anyone would want a light environment to shine upward is beyond me but "down" is part of the process.

The best things in life, aren't things.
Re: Lighting big areas Posted by ReNo on Sun Apr 16th 2006 at 5:54pm
ReNo
5457 posts
Posted 2006-04-16 5:54pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
The "down" angle preset you could set in HL1 was just a shortcut of sorts to make your pitch -90 if I recall correctly. The better way to do it, and I think the only way to do it in HL2/Source, is to set the pitch (vertical angle) to a negative angle (-90 being straight down, 0 being horizontal) and the yaw (horizontal angle) to anywhere between 0 and 360. The roll value shouldn't matter. When you set the angle using the little helper thing in the entity properties it is setting the yaw.
[img]http://card.mygamercard.net/sig/Default/reno84.png[/img]
Designer @ Haiku Interactive | ReNo-vation.net
Re: Lighting big areas Posted by Orpheus on Sun Apr 16th 2006 at 6:00pm
Orpheus
13860 posts
Posted 2006-04-16 6:00pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
OK, thanx Duncan.

Let me reiterate. I tried not setting "Down" in HL1 and my sunlight always borked.

Since there was an "up" option, I always assumed it was essential to make the orb shine downward.

I almost always used down, and 30* since I never used a sky with a true sun.

I did use the clockdial once. In No_Patience there is a room with windows. I wanted the sun to shine at the apex of the two sides. It turned our perfectly.

The best things in life, aren't things.