1. Hey Guest, welcome to the new forums. Be sure to check out this thread to get all the information you need on the cool new stuff!

The "2D Skybox" texture

Discussion in 'Mapping Questions & Discussion' started by stevethepocket, Mar 9, 2012.

  1. stevethepocket

    aa stevethepocket I can fix it!

    Messages:
    3,140
    Thanks Received:
    1,248
    ...is showing my 3D skybox.

    Am I doing it wrong, or something?
     
  2. Fr0Z3nR

    aa Fr0Z3nR I do things sometimes.

    Messages:
    5,543
    Thanks Received:
    3,626
    Can you explain a bit more about what is going on?
     
  3. stevethepocket

    aa stevethepocket I can fix it!

    Messages:
    3,140
    Thanks Received:
    1,248
    I have a 3D skybox with stuff in it. I have a skylight with a tools/toolsskybox2d. If I look at said skylight in-game, I can see the stuff I placed in the 3D skybox. I was under the impression that that was contrary to the purpose of that texture.
     
  4. LeSwordfish

    aa LeSwordfish semi-trained quasi-professional

    Messages:
    2,518
    Thanks Received:
    2,476
    I think 2D and 3D skybox textures can't be used in the same Veiw...thingy. I forget the technical term, but basically you have to never be able to see them both at the same time, in vvis terms. Same as with two levels of water: it's only possible if you can't see both at once.

    EDIT: PVS https://developer.valvesoftware.com/wiki/PVS
     
    Last edited: Mar 9, 2012
  5. grazr

    aa grazr Mmm, hhhyes. indubitably.

    Messages:
    5,126
    Thanks Received:
    3,464
    You can see 2 levels of water in any one area, they just can't both be expensive materials.
     
  6. Freyja

    aa Freyja Unpronounceable map names since 2013

    Messages:
    2,186
    Thanks Received:
    2,910
    Are you sure about that? I'm quite sure I've done it in the past. Although, that would explain the funny natur eof it.
     
  7. stevethepocket

    aa stevethepocket I can fix it!

    Messages:
    3,140
    Thanks Received:
    1,248
    By gum, you're right. I found the page in the developer wiki on tool textures, and that's what it said.

    Although I swear some of my 2D skybox textures are nowhere near my regular ones. Am to assume the problem chains, as in a 2D skybox texture can't be in the same PVS as another 2D skybox texture that was in the same PVS as a regular one, either?
     
  8. henke37

    henke37 L13: Stunning Member

    Messages:
    1,146
    Thanks Received:
    216
    I think the engine just doesn't consider the stuff in the 3d skybox visible when looking thru a 2d skybox brush. But the stuff will still draw if another brush says that the 3d skybox is visible. The engine either sees the 3d skybox or it does not.