Source Filmmaker

Source Filmmaker

144 ratings
Creative Use of 3D Skyboxes in SFM
By [NIИ]Complication
Sometimes even the richiest maps lack some detail in the background, which would help make them more interesting. Not everybody wants to go through learning basic mapping and fight with Source Hammer to add more stuff to the maps used in their scene builds.

Thankfully there’s a little trick utilizing the way skyportals work in Source engine, which may come in handy during making background more interesting.
   
Award
Favorite
Favorited
Unfavorite
How 3D Skyboxes Work
Let’s start with explaining, what skyportal is and how does it work. For precise description there’s always Valve Developer Wiki entry, but if somebody is not a mapper, all technicalities propably wouldn’t be interesting. In one sentence – skyportal (or 3D skybox) is a miniature 3D background, which gets projected on the enclosing sky walls of the map, creating illusion of miniature being actually huge area outside the map.

Remember: not every map has 3D skybox.

It’s very usable for presenting vast backgrounds expanding the world without building enormous, not playable areas. For example – there’s need for some big, realistic, animated forrest far away on the horizon? Making huge planar area expanding map size and putting hi-res trees there is unnecessary – the miniature scaled up by engine will be just as good.

It’s very similiar to compositioning in movies – replacing green screen with detailed prerendered backgrounds – only done in real-time and with 3D miniatures. Check the image below – in Dredd (2012) such compositioning was used very widely.



Above example of compositioning done by Prime Focus World for movie Dredd. You can make backgrounds more detailed in SFM too by using 3D skyboxes.

How to use them to your advantage
So, how we can exploit this technology in SFM? Let me show it on a simple example.

Lets play around The Vannah Hotel[sfmlab.com]. It’s very nice rebuild of Left 4 Dead 2 1st campaign map, with many balconies and nice, big 3D skybox. Find good place with good look outside and make there camera animation set.

---

Since skyportal is a miniature, it’s present in the map itself, sometimes not far away from the main playable area. After switching camera to work space, 3D skybox can be found by flying outside the boundaries of the map. In this example it was located right beneath the main map. Tip: moving around is faster with pressed Shift key.

---

Now, after finding miniature 3D skybox of the map, it’s good idea to set here camera animation set – then, when it will be active, animation sets can be loaded in front of it and there will be no need for moving them from the main map all the way to the miniature. While browsing the models, filtering them by word “skybox” usually will result in small, scaled down models, which will fit perfectly to the miniature size . But of course with scale function addition, anything can be used as a miniature expansion. To make nicely looking cityscape, few single blocks and skyscrapers skyline will be excellent. Adding few lights for proper lighting in the area matching rest of the map is also good idea

---

After little bit of scaling and moving around new budiling models, scene (with already placed additional standard props) looks much better. One volumetric light on the right side to simulate the sun and voila – now image preview looks way more interesting, right?

---

Hopefully this small tutorial will be useful for some poster makers :). Be creative – with this technique posibilities are almost limitless.

http://ofsecrets.com
http://facebook.com/ofsecrets
http://vehtam.deviantart.com
---

---
11 Comments
Drunkchey Jul 26, 2022 @ 3:02pm 
you can also do this by just scalin shit down and moving it closer to the camera. way easier to light too and it helps if you're working in limited space (for people that still use built in maps)
Baldi404 Jul 25, 2022 @ 10:17am 
no joke i found out about this trick when i was exploring a fnaf map in gmod a LONG time ago
Capt Fuzzy Jan 9, 2017 @ 10:50pm 
Favorited...
This has real possibilities, I've already got ideas brewing... lol
[NIИ]Complication  [author] Dec 26, 2016 @ 1:45am 
surfer171, exactly :), altough in standard enclosed map you can bump into limitations of its boundaries, if you would like to set some nice visual far to the horizon. Scaling down background buildings for example will just not look quite right with depth of field because of camera lens, but with 3D skybox objects will be actally really rendered far away from camera point of view :)
surfer171 Dec 22, 2016 @ 11:15am 
So to make things clear, it's basically like doing a scene build in a lit map. I think I'll favourite this guide, might wanna try out for myself
[NIИ]Complication  [author] Nov 16, 2016 @ 10:00am 
Now I understand, You meant models :D. First single blocks in front are half-life 2 skybox hotel model, the backdrop is left 4 dead city backdrop. You can find them, when You have HL2 and L4D content mounted, they can be found by filtering models by "skybox" keyword :)
The Mad Demoknight Nov 15, 2016 @ 1:12pm 
For the 2nd question I was more talking about what models you used inside Vannah's 3D Skybox and where I could find them.
[NIИ]Complication  [author] Nov 15, 2016 @ 11:48am 
Oh, 1st question - it's the same map, but with model placed inside 3D skybox - so it looks big and have proper perspective unlike forced, scaled model would have in main map area :), 2nd one - I used default Vannah Hotel map one, like visible on screens and just added more buldings , skyscrapers and light (what You see on right side of screen 5 is how right side of screen 4 looks, when You're in main map area).
The Mad Demoknight Nov 13, 2016 @ 10:50pm 
Also what skybox did you use for the Hotel skybox?
The Mad Demoknight Nov 13, 2016 @ 9:32pm 
For the image with the Alien Queen, is that the same map, or a different map with a 3D skybox?