Displacement lighting errors

Discussion in 'Mapping' started by BumGravy, May 21, 2008.

  1. BumGravy

    BumGravy Member

    Messages:
    663
    Likes Received:
    1
    Trophy Points:
    0
    Ive been using the modified BSP compiler mentioned in this post: http://forums.empiresmod.com/showpost.php?p=83764&postcount=46 but it seems to cause a lot of lighting errors on my displacements. In dark areas, some light will bleed through in circles, so there are lots of big spots of light on my displacements that look ugly.

    Ive tried chopping up these displacements and making the lightmap scale bigger, but it doesnt seem to help much. My map file size is now almost 100megs because ive used so many displacements.

    Does anyone else use this compiler, and does anyone know how to get rid of the ugly light spots?
     
  2. arklansman

    arklansman Member

    Messages:
    5,365
    Likes Received:
    0
    Trophy Points:
    0
    Do the spots look like this?
    [​IMG]

    If so, use -bounce 1 in your vrad compile options.
     
    Last edited: May 21, 2008
  3. Silk

    Silk Mapper

    Messages:
    3,147
    Likes Received:
    36
    Trophy Points:
    0
    Holy shit if that works it could benefit most of my maps as well.
     
  4. Chris0132'

    Chris0132' Developer

    Messages:
    9,482
    Likes Received:
    0
    Trophy Points:
    0
    Er, wouldn't bounce 0 turn off light bouncing and therefore cause all the lighting to suck?

    Or does it just remove the cap on bounces?
     
  5. arklansman

    arklansman Member

    Messages:
    5,365
    Likes Received:
    0
    Trophy Points:
    0
    Erm, meant to put 1 instead of 0. :headshot:
     
  6. DrummerX

    DrummerX Empires Tyrant

    Messages:
    1,193
    Likes Received:
    0
    Trophy Points:
    0
    HAHAHAH, yeah set it to 1, ROFLMAO

    o man you'd get so many errors and crap in your map if you set it to 0
     
  7. Chris0132'

    Chris0132' Developer

    Messages:
    9,482
    Likes Received:
    0
    Trophy Points:
    0
    I just did as it happens because I just got the same error.

    We'll see what it does.

    Hmm, what it does is replace the spots with pure black areas.
     
    Last edited: May 22, 2008
  8. DrummerX

    DrummerX Empires Tyrant

    Messages:
    1,193
    Likes Received:
    0
    Trophy Points:
    0
    didn't do that to me
     
  9. arklansman

    arklansman Member

    Messages:
    5,365
    Likes Received:
    0
    Trophy Points:
    0
  10. petemyster

    petemyster Member

    Messages:
    1,610
    Likes Received:
    0
    Trophy Points:
    0
    lol awesome, you gotta keep that in :D
     
  11. BumGravy

    BumGravy Member

    Messages:
    663
    Likes Received:
    1
    Trophy Points:
    0
    thanks for your help, buut I used this:

    -LargeDispSampleRadius: This can be used if there are splotches of bounced light on terrain. The compile will take longer, but it will gather light across a wider area.

    From the valve wiki. It seems to have done the trick!
     
  12. Silk

    Silk Mapper

    Messages:
    3,147
    Likes Received:
    36
    Trophy Points:
    0
    It doesn't always work as well though, at least not on all my maps. I've had a few in which it even made things worse.
     

Share This Page