Digital Paint Discussion Board
Development => Mapping => Topic started by: Lapppy on November 21, 2008, 10:51:23 PM
-
While i have been trying to make some small maps to test out lighting, i cant seem to get the sun light working. Here is what i mean.
(http://img509.imageshack.us/img509/3806/lighthelppu9.th.png) (http://img509.imageshack.us/my.php?image=lighthelppu9.png)(http://img509.imageshack.us/images/thpix.gif) (http://g.imageshack.us/thpix.php)
The floor is black, but the sky works and stuff. Can anyone help? ???
-
The sun lighting probably isn't 'working'-- the skybox is just always fullbright. Can you post the worldspawn parameters you're using?
-
Also, did you add a light value of 150 to the sky sufraces?
-
The sun lighting probably isn't 'working'-- the skybox is just always fullbright. Can you post the worldspawn parameters you're using?
I am using:
"classname" - "worldspawn"
"sky" - "pbsky4"
"_sun_light" - "500"
"_sun_angle" - "75 -30"
"_sun_diffuse" - "200"
"_sun_ambient" -"30"
of course, i am only testing out lights, so i just chose some random numbers that i found on the fourms to test.
Also, did you add a light value of 150 to the sky sufraces?
I dont know how to do that yet. :o
EDIt: I got it working. Thanks ;D
-
So, what was wrong with it? How did you fix it?
Someone might have the same problem and he might find this if (I highly doubt this will happen) he decides to search the forums instead of making a new thread.
-
I simply checked the light flag, and added the value of 150. :)