Lighting Issue

Discussion in 'Mapping Questions & Discussion' started by Resin_, Jan 7, 2014.

  1. Resin_

    Resin_ L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    Hey All,

    Hopefully someone can help, interlopers wasn't too helpful.

    I'm having a strange lighting issue (environment & entity) , and I've tried the following:
    -Remaking the 3dskybox
    -Shifting the map/skybox on the grid
    -Compiling without HDR (wishful thinking)
    -Moved the light and sun envs around (wishful thinking part 2)
    -Alt+P, nothing but hammerid warnings which isn't an issue

    Essentially the map is compiling as it should; no leaks, no apparent issues. Not a single displacement on the map (as you can see from my log). However, the lighting is non-existent (when it was working fine a few compiles ago). I've searched for people with the same issue as me over the past 2 days; and some have a similar problem, but the issue was apparent in their compile log unlike mine. Vrad hates me!

    Heres a screenshot

    Any ideas would be wonderful! Thanks!
     
  2. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,880
    Positive Ratings:
    4,972
    This is a bug that happens for some reason that I've never figured out.

    Luckily, it can be fixed easily.

    If your origin of your map (0,0,0) is inside of a brush, move your map or the brush so that the origin is in empty space and the issue will be fixed.
     
    • Thanks Thanks x 1
  3. Resin_

    Resin_ L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    Thanks for the quick response!

    Hmmm no dice. It was indeed within a nobuild, but manipulating that still yielded the same results (origin is free of all brushes now, and in the void). It's getting late here now so I'll resume this tomorrow. Thanks for again for the help aly, if you have any more ideas I would welcome them. Really hoping a bad compile didn't screw me!

    Just for some more clarification, the sky camera is not touching or within any brushes in my skybox, and I have my skybox reference visgroup hidden as well.
     
  4. Snowbat

    Snowbat L4: Comfortable Member

    Messages:
    165
    Positive Ratings:
    61
    I see a couple of bizarre stuff in your log:
    zero area child patch
    and
    *** Error: Skybox vtf files for skybox/sky_night_01 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_night_01 to build the default cubemap!

    Not sure what those mean, but they might be worth looking into.
     
  5. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,880
    Positive Ratings:
    4,972
    Both of those errors can be largely ignored, the zero area child patch could be causing it and you may wish to look itno it, but the sky one is valve's fault and has no effect.

    Also try making sure there are no skybox brushes or areaportals intersecting with water brushes.
     
  6. Sergis

    aa Sergis L666: ])oo]v[

    Messages:
    1,871
    Positive Ratings:
    1,131
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 50.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 200.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 150.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 150.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 150.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 150.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 200.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 600.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 500.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 600.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 600.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 600.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 600.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 600.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 600.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 500.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 500.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 400.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000
    light has _fifty_percent_distance of 100.000000 but _zero_percent_distance of 0.000000


    how are your lights supposed to work if they fade to nothing instantly yet are supposed to be at 50% in 100 units
    seems to me you cant have _fifty_percent_distance with no _zero_percent_distance
     
  7. Resin_

    Resin_ L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    Thanks for all the responses everyone!

    I'm going to look into the water brush and zero child (again) and see how that goes. As for the zero percent distance, that was just me being lazy; I'm going to go back and touch that up as well. Will return shortly with an update and new compile log. Thanks again!
     
  8. Resin_

    Resin_ L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    Alright guys, I'm back after a bit more work. Still no luck!

    Things I've done since my last post:
    -Cleaned up the lighting a bit
    -Moved the entire map up on the grid, a decent bit away from origin and recreated the 3dskybox
    -Removed all the water on the map
    -Replaced any tool textures aside from nodraw and skybox
    -Searched for any transparent textures I might have to remove them, not seeing any besides glass and none of it is touching the void

    Here's the new compile log
    Any more ideas?
     
  9. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    Well, you didn't fix all of your light sources, for starters; some of the errors Sergis quoted are still there. Seriously, get rid of any custom fade distances on your lights for now. You almost never need them; there are usually better ways to achieve the look you're aiming for.
     
  10. Resin_

    Resin_ L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    Yea, i just quickly went through and modified most of them. I'll grab the rest next time around. It's looking like I'm gonna have to roll back to an earlier revision at this point, just can't seem to figure out this issue.