1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

3d Skybox Problem in Source Engine

  • Skjalg
  • August 12, 2007 at 10:25 PM
  • Skjalg
    • August 12, 2007 at 10:25 PM
    • #1

    I need some help.. I've been working all day optimizing my map, and it sure has caused me a lot of frustration

    Right now, the hints works as intended

    What doesnt work as intended is my 3d skybox. What I did was shave off the top of my map (the player is never going up there anyway) and make it into a 3d skybox.

    What happened next was unexpected. Picture explains it all. (sorry about the big picture, im lazy:P)

    [Blocked Image: http://www.skjalgmap.com/stuff/pvk_town_sky20000.jpg]

    I have searched forums everywhere (mainly interlopers), but I cant figure out what is wrong. After running around on the map, it seems like all the 3d skybox buildings have no shadows. They have the exact same color of lighting on all sides.

    I have tried putting the light_environment in just normal world. I've tried having one in both the 3d skybox and normal world. I've tried removing fog in both etc etc.. What is the problem here? I'd really rather not go back to not using the 3d skybox

  • hessi
    • August 12, 2007 at 10:48 PM
    • #2

    maybe you got to increase the lightmap resolution for those objects in the 3d sky?!

  • Skjalg
    • August 12, 2007 at 10:56 PM
    • #3
    Quote from hessi

    maybe you got to increase the lightmap resolution for those objects in the 3d sky?!

    tried it, didnt work..

  • Skjalg
    • August 12, 2007 at 11:50 PM
    • #4

    god this is annoying!

  • FMPONE
    • August 12, 2007 at 11:59 PM
    • #5

    adjust the angles on the light_envs

  • Steppenwolf
    • August 13, 2007 at 12:00 AM
    • #6

    the problem is the stuff in the 3dsky doesnt get the same lighting as the stuff in the actual map. I had a similar problem in one of my ins maps and couldnt fix it, so i had to remove parts of it

  • FMPONE
    • August 13, 2007 at 12:02 AM
    • #7

    yeah its really a simple thing to do technically but getting them to look natural next to eachother might be impossible

    you can try faking it by using regular lights, darken them and place them along the line of the bottom of the skybox geometry and adjust the distance they cast light etc until its sufficiently convincing, a pretty awful method but it'll probably work

  • Skjalg
    • August 13, 2007 at 12:29 AM
    • #8
    Quote from Steppenwolf

    the problem is the stuff in the 3dsky doesnt get the same lighting as the stuff in the actual map. I had a similar problem in one of my ins maps and couldnt fix it, so i had to remove parts of it

    I dont believe that this is the problem.

    1. I compiled the map with the only entities beeing sky_camera, light_environment and fog_controller. It was still like that.

    2. No shadows in skybox. I have set the direction of the light environment to the east, but the west side of the buildings are just as lit as the east sides (in the 3d skybox). Hope that made sense..

    I can clearly see the difference in shadows in the 90 degree buildings in the normal world, but when I look up its just as bright on both sides in the 3d skybox.

    Conclusion: wtf ?

  • Skjalg
    • August 13, 2007 at 12:36 AM
    • #9

    update: When I'm in the skybox (observer mode) its shaking...

    edit:

    [Blocked Image: http://www.skjalgmap.com/stuff/pvk_town_sky.jpg]

  • Steppenwolf
    • August 13, 2007 at 12:49 AM
    • #10

    In source everything gets color and light info from the surrounding stuff. And unfortunately 3dsky and actual map seem to be seperated. Thats my experience.

  • Skjalg
    • August 13, 2007 at 12:54 AM
    • #11
    Quote from Steppenwolf

    In source everything gets color and light info from the surrounding stuff. And unfortunately 3dsky and actual map seem to be seperated. Thats my experience.

    mine too... Still doesnt explain the lack of shadows... and the shaking in 3d skybox.

  • hessi
    • August 13, 2007 at 8:34 AM
    • #12
    Quote from Skjalg

    mine too... Still doesnt explain the lack of shadows... and the shaking in 3d skybox.

    the shaking/jittering geometry is normal. it appears due to rounding problems. this jittering also appears in the 3d world. for exmaple go prone in dod:s next to a wall edge. i often see it flickering around

  • insta
    • August 13, 2007 at 8:44 AM
    • #13

    What texture are you using for the bottom of the 3d skybox? Could be that the brushes are picking up light-information from the texture during rad. I had a similar problem in dod_salerno, but it went away when I used toolsblack for the floor. Also, are the brushes floating in the skybox, or are they placed directly on the floor? If they're on the floor, give them some room underneath.

  • Skjalg
    • August 13, 2007 at 11:45 AM
    • #14
    Quote from insta

    What texture are you using for the bottom of the 3d skybox? Could be that the brushes are picking up light-information from the texture during rad. I had a similar problem in dod_salerno, but it went away when I used toolsblack for the floor. Also, are the brushes floating in the skybox, or are they placed directly on the floor? If they're on the floor, give them some room underneath.

    I had the same idea as you, so I tried giving them some space last night, didnt work... I'll try the toolsblack idea now..

    ..didnt work.. bleh

  • Skjalg
    • August 13, 2007 at 12:36 PM
    • #15

    This is going nowhere so im scrapping the 3d skybox.. Need to dramatically change some parts of my map for optimizing :/

  • Erratic
    • August 13, 2007 at 3:51 PM
    • #16
    Quote from Skjalg

    This is going nowhere so im scrapping the 3d skybox.. Need to dramatically change some parts of my map for optimizing :/

    Maybe try getting someone else to compile that section with the 3dskybox and find out if they're getting the same issue. Then you can at least rule out if it's an isolated issue or an actual problem with the map.

  • hessi
    • August 13, 2007 at 3:54 PM
    • #17

    hahaha. his new computer is too fast fast than the speed of light so there are no shadows!

  • Skjalg
    • August 14, 2007 at 1:49 AM
    • #18
    Quote from hessi

    hahaha. his new computer is too fast fast than the speed of light so there are no shadows!

    hahah

    Still haven't got it yet I'll probably get it around thursday~friday...

    I'm redoing the whole map now with a kind of a different layout :/

  • Pongles
    • October 8, 2007 at 3:55 PM
    • #19
    Quote from Steppenwolf

    the problem is the stuff in the 3dsky doesnt get the same lighting as the stuff in the actual map. I had a similar problem in one of my ins maps and couldnt fix it, so i had to remove parts of it

    wasn't that the bridge in baghdad?

  • Furyo
    • October 8, 2007 at 4:02 PM
    • #20

    Well, sorry if this is too late, but you should try to have the bottom part of your 3D skybox sky brushes be textured in nodraw. I've seen this problem fixed by doing that, to imitate the rest of the map where normally the sky brushes should only be on top (and the sides)

    PS: Thread necrophilia ftw

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  2. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  3. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  4. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  5. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  6. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  7. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  9. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  10. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™