Lighting problem

  • Thread starter Thread starter PvtDaryl
  • Start date Start date
P

PvtDaryl

Guest
After compiling, my map is pitch black. I have a light_enviroment in the map and every compile setting to Normal.
 
The light_environment only creates light from the sky texture. do you have any sky or other light sources?
 
Does the skybox have to be a hollow cube or can it be just a brush? I have two brushes with tools/toolsskybox on them.
 
It works like other textures but when you look at the skybox texture in-game it'll show up as the sky for that map and it will emite light how you set the light up in the light_environment entity. But if i understood your question right you have show the skybox texture you can't just make a giant brush with the skybox texture and put your map inside the brush. You could do that if you made that brush hollow. Might not be the cleanist but it would work.
 
I know, that is what I did. It's a pain because it makes the compile process longer... or maybe it is because the actual light works now. We'll I'm gonna check it out now.
 
if you just put your whole level in a gigantic cube that might not be the most efficient way of making a skybox, thus the looooong compile times.... rather, wrap the skybox around wherever the player will actually be able to see it... if you have to use the big cube approach ... for example your level is totally outside and it fits the shape well... then I suppose you might be able to do so
 
Back
Top