No lightning

Discussion in 'Mapping Questions & Discussion' started by popcorp, Aug 10, 2014.

  1. popcorp

    popcorp L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    Hello again, i have a problem

    When i compile a map with VBSP and VRAD checked, i have a map with lightning, but if i include VVIS for compilation, my map is pitch black and only Props can be seen. (i compile with both LDR and HDR)

    Any ideas what's the cause of this? Compile logs didn't spot any errors.
     
  2. wareya

    wareya L7: Fancy Member

    Messages:
    493
    Positive Ratings:
    191
    Do you have a light_environment entity and skybox brushes?
    Does geometry in a 3d skybox cover your level?
     
  3. popcorp

    popcorp L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    yes, i said everything works fine, got lights, light_spots, light_environment and skybox working when map is compiled without VVIS
     
  4. wareya

    wareya L7: Fancy Member

    Messages:
    493
    Positive Ratings:
    191
    Do you have a 3D skybox? When vrad casts light, it merges the 3D sky with the level's normal play area, so you can get shadows being cast between the two, and if you have a 3D sky with geometry that overlaps the play area, it'll block the light. But, when VVIS isn't compiled, the 3D sky isn't treated like a 3D sky, so that doesn't happen, so such broken levels get lit. That's why I asked about the skybox covering the level not whether it works.
     
    • Thanks Thanks x 1
  5. popcorp

    popcorp L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    Ok, i think i have such areas on my map, i'll re-make skybox and report later, thanks
     
  6. popcorp

    popcorp L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    Helped, thanks!