Author Topic: Problems with lighting  (Read 1353 times)

Lapppy

  • Stingray
  • Posts: 91
Problems with lighting
« on: November 21, 2008, 09: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.



The floor is black, but the sky works and stuff. Can anyone help? ???

Eiii

  • Autococker
  • Posts: 4595
Re: Problems with lighting
« Reply #1 on: November 21, 2008, 10:12:42 PM »
The sun lighting probably isn't 'working'-- the skybox is just always fullbright. Can you post the worldspawn parameters you're using?

Laged

  • 68 Carbine
  • Posts: 374
Re: Problems with lighting
« Reply #2 on: November 22, 2008, 05:28:16 AM »
Also, did you add a light value of 150 to the sky sufraces?

Lapppy

  • Stingray
  • Posts: 91
Re: Problems with lighting
« Reply #3 on: November 22, 2008, 08:39:05 AM »
Quote
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.

Quote
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
« Last Edit: November 22, 2008, 11:26:39 AM by Lapppy »

Laged

  • 68 Carbine
  • Posts: 374
Re: Problems with lighting
« Reply #4 on: November 22, 2008, 11:52:40 AM »
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.

Lapppy

  • Stingray
  • Posts: 91
Re: Problems with lighting
« Reply #5 on: November 25, 2008, 05:43:48 PM »
I simply checked the light flag, and added the value of 150. :)