Digital Paint Discussion Board
Development => Mapping => Topic started by: RoBiNandL!nk on June 03, 2008, 02:19:24 PM
-
what is the angle of sunlighting so the sun is directlly over head?
-
90 would be straight up, -90 is straight down. But, you need to match the sun angle to the sky you choose. Here's a link which may help: http://arghrad.planetquake.gamespy.com/manual/sun.html
To get the angle you need, in the game, look at the sun and type "angles" in the console. That number will need to be the opposite of what the numbers are, since you're looking at the sun instead of from the sun.
-
ooh ok im gunna make mine dark now thought XD
-
unit1_: 72 -25
pbsky1: 198 -65
pbsky2: 150 -34
pbsky3: 85 -38
pbsky4: 90 -30
riverscape1: 194 -26
arctic1: 35 -30
Those are pretty good.
EDIT: Sorry , i didnt read that you want the angle of the sun directly above.
-
One thing to do is go in-game, point the camera at where you want the sun to be, bring down the console, and type 'angles'. It'll return several values, two of which are under 'sun_angles' or something. You put those numbers in the angle key of the sun.
-
A simple search of the forums would have found all these answers once again. Good job being lazy rather than smart!
-
RoBiNandL!nk: Even if you make it a night time map (I think that's what you said), you'll still want to give the moonlight a shadow.