Page 1 of 1

Giving a light angle ?

Posted: Fri Jun 08, 2007 3:37 pm
by mcunha98
How i do this ?
The idea is create a "external light" effect...

Image

shadows

Posted: Fri Jun 08, 2007 3:56 pm
by tltrude
To get shadows, your skybox must be sealed and you must use "-final" option for the light compile.

Posted: Fri Jun 08, 2007 4:39 pm
by Ophisâ„¢

Posted: Fri Jun 08, 2007 5:48 pm
by mcunha98
Ophis,
Thanks, i will try with this technique.


Tom,
Not is it.
Acttually i want make a light effect into a dark room based in a external light (in another words, a light from external to internal enviroment).

Posted: Fri Jun 08, 2007 6:03 pm
by neillomax
These work for me............ play with all the angles and then try some of your own. Positive and negatives apply here also........

With the light selected, hit "n" to bring up the entity inspector

first number ( angles ) is the "key" ... second number is the "value" 90 90

first box type angles....... the numbers below go in the value box. After typing these in, hit enter to make them apply themselves.

try these ( all in the value box )

90 90

45 0

22.5 -90.00

45 90

45 270

45 180

45 135

45 315

you can use a negative ( - ) where you want. Each number you type changes the angle at which the light will more or less focus it's direction. You can use any odd number you can think of. The light will "focus" accordingly.

If you need to make a focused beam. think I saw a tut on this site somewhere.

Let us know how you make out.

Posted: Fri Jun 08, 2007 9:05 pm
by lizardkid
isn't there a "point at" function, or is that only Q4?/D3

Posted: Sat Jun 09, 2007 2:27 am
by bdbodger
A light entity can also target an info null or other enity and will act like a spotlight .

Posted: Sat Jun 09, 2007 11:21 am
by jv_map
Use a surfacelight in the shader :)

Posted: Sun Jun 10, 2007 4:29 pm
by mcunha98
bdbodger wrote:A light entity can also target an info null or other enity and will act like a spotlight .
Exists tutorial about this ?

Posted: Sun Jun 10, 2007 7:06 pm
by jv_map
Pick the light, then the info_null or why not an info_notnull and hit ctrl (while screaming 'steuerung') & k @ the same time :)