Weird shadow glitch [Hammer Help]

Discussion in 'Mapping Questions & Discussion' started by k4ppy, Jul 21, 2016.

  1. k4ppy

    k4ppy L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    I'm making my first map, but i've com'n up with a weird shadow glitch, idk what it is but...

    ...how do i fix this?

    http://imgur.com/a/LGTT9
     
  2. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,372
    Positive Ratings:
    4,167
    Looks like the rocks are casting shadows. Double click on the rocks to open the properties, look for "Disable shadows" and change that to "Yes".
     
    • Respectfully Disagree Respectfully Disagree x 2
  3. k4ppy

    k4ppy L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Thanks! I'll try it, but are you sure those shadows apply to the entrance on the first picture?
     
  4. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,372
    Positive Ratings:
    4,167
    The shadows on the entrance may be due to the wooden frames also casting shadows. I recommend disabling the shadows on those too, as well as the support walls propped up against the walls of the mineshaft.
     
  5. iiboharz

    aa iiboharz Meme Queen

    Messages:
    700
    Positive Ratings:
    1,025
    Actually - you don't really need to disable the shadows on those props (though that is still a valid solution). This is happening because you're running a compile which doesn't use -StaticPropPolys, which forces VRAD to cast prop shadows with polygonal precision. By default, Hammer casts shadows based on their collision model, or if there is no collision model, their bounding box.

    You needn't worry about this for early compiles, though! For more information I would suggest checking this tutorial out. (in fact all of TopHATTwaffle's tutorials are fantastic)
     
    • Agree Agree x 2
  6. k4ppy

    k4ppy L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Oh okay :3 How do i enable this so called "StaticPropPolys"
     
  7. iiboharz

    aa iiboharz Meme Queen

    Messages:
    700
    Positive Ratings:
    1,025
    It's an additional compile parameter that you add to VRAD before compile, however, considering this is one of your first maps, and it is in very early development, I would forget it for now. I was merely trying to demonstrate that this is a problem that will be fixed by a proper compile later on.
     
  8. k4ppy

    k4ppy L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Ok, thanks! :D
     
  9. Pocket

    aa Pocket func_croc

    Messages:
    4,477
    Positive Ratings:
    2,204
    Pretty sure Valve's maps disable shadows on those fiddly detail props most of the time though, since it makes such a tiny difference. I looked at Goldrush just now and it does.
     
Tags: