3d skybox rendering when it shouldnt

Discussion in 'Mapping Questions & Discussion' started by SiniStarR, Jul 22, 2009.

  1. SiniStarR

    SiniStarR L8: Fancy Shmancy Member

    Messages:
    585
    Positive Ratings:
    116
    I have a 3d skybox viewed by an info_observer_point but you dont ever see the actual 3d skybox in game unless your dead. Now when I use mat_wireframe 1 some parts of the map can see the 3d skybox when there is no possible way to physically see it. Any idea how I would fix this?
     
  2. Nineaxis

    aa Nineaxis Quack Doctor

    Messages:
    1,767
    Positive Ratings:
    1,403
    I think the 3d skybox is always rendered...

    "Geometry in the 3D skybox is not occluded or culled like the rest of the level geometry. Adding lots of detailed brush geometry or models to the 3D skybox, especially with translucent materials, can severely affect performance."
    http://developer.valvesoftware.com/wiki/3d_skybox
     
  3. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    Nine is correct. The entire 3D sky is rendered at all times.
     
  4. Big Lou

    Big Lou L3: Member

    Messages:
    120
    Positive Ratings:
    27
    Because a 3D skybox is "projected" and not seen directly, it would be too difficult for the engine to determine what portions of the skybox can be seen at any given time.

    To compensate for this, as Nine and ABS have stated, all of it is rendered at all times.
     
  5. SiniStarR

    SiniStarR L8: Fancy Shmancy Member

    Messages:
    585
    Positive Ratings:
    116
    alright thanks, at least I know its better to just get rid of the 3d skybox stuff thanks.
     
  6. zornor

    zornor L4: Comfortable Member

    Messages:
    195
    Positive Ratings:
    23
    See if that 2d Skybox texture works if you're desperate
     
    Last edited: Jul 23, 2009