[SOLVED] Problem with lighting when adding skybox.. (TF2)

Donatello

L1: Registered
Jan 11, 2017
46
2
Yesterday I ran into a problem regarding the 2dskybox and the lighting in my map.
The problem is that when i add a skybox to my map all of my light suddenly doesn't work (everything is black)
removing the skybox resolves this issue, but I want my map to have a skybox.

Note that I do not have any leaks in my compile log.
ALT+P doesn't show any errors aswell.
 

nickybakes

You should've played Rumbleverse
aa
Jul 28, 2015
911
1,739
Are you using the normal toolsskybox texture or the 2dskybox texture (the one that has "2D" in the middle of the texture)? Use the normal toolsskybox texture (the one that looks like this:
:skybox:)
 

Donatello

L1: Registered
Jan 11, 2017
46
2
Are you using the normal toolsskybox texture or the 2dskybox texture (the one that has "2D" in the middle of the texture)? Use the normal toolsskybox texture (the one that looks like this:
:skybox:)

I originally used 2dskybox, switched to the normal toolsskybox didn't resolve the issue.
 
Aug 30, 2015
359
451
Do you have a light_environment anywhere in your map? This is a wild guess, but it could be your map is trying to pull from a light entity that doesn't exist which is messing the other lights up as well.
 

Donatello

L1: Registered
Jan 11, 2017
46
2
ktfnItk.png

this is how it looks ingame.
everything around it is black. (ammo packs/health packs are visible too, aswell as water).
*this problem did not persist in older versions of my map.
 
Last edited:

AsG_Alligator

qhull precision error
aa
Aug 5, 2016
595
1,191
So models are lit, brushes are black.

I'm pretty sure this is what happens when map origin (0,0,0 point on hammer grid) is embedded within a world brush.
 

Blade x64

Logical insanity
aa
Sep 3, 2009
239
633
Your 3d sky is likely casting a shadow onto the main map. Ensure the imaginary area the main map occupies in the 3d sky is free of shadow casting objects.
 

Billo

aa
Feb 8, 2016
920
397
it depents,
if your skybox is completed and there are no leaks or you messes up the light environment.
if you have the same problem i had with my map on the one day everything is all right but suddently the whole map is black, what i did is just move the whole map a bit , when i did that i saved the map as too with a different name just to be sure for exable pl_test_a1 i changed it to pl_test_a2
try those , if you still dont get the problem fixed i dont quite now what you should do
 

Donatello

L1: Registered
Jan 11, 2017
46
2
it depents,
if your skybox is completed and there are no leaks or you messes up the light environment.
if you have the same problem i had with my map on the one day everything is all right but suddently the whole map is black, what i did is just move the whole map a bit , when i did that i saved the map as too with a different name just to be sure for exable pl_test_a1 i changed it to pl_test_a2
try those , if you still dont get the problem fixed i dont quite now what you should do
Tried moving the map, didn't work.
 

Billo

aa
Feb 8, 2016
920
397
maybe you have a light into a brush?
dunno to be honest . if i were you i would probably copy and paste the map into another new empty map