Garry's Mod

Garry's Mod

4,612 ratings
Skybox Editor Tool
13
10
25
10
16
15
14
7
3
5
8
7
3
4
3
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Scenic, Realism
File Size
Posted
Updated
802.588 KB
Feb 26, 2021 @ 3:18pm
Feb 28, 2021 @ 3:10am
6 Change Notes ( view )

Subscribe to download
Skybox Editor Tool

In 1 collection by AwesomeGraczGie47
OLDSCHOOL SERVER !!! JOIN !!!
14 items
Description

About
What can this tool do? Well, using this tool you can:
  • Change the Sky texture, thus changing the mood, day time of a map
  • Set a matching fog color
  • Add a 3D Skybox to a map that does not contain it (props, buildings in the background, outside of playable area)

It's worth noting that this tool, unlike the built-in Sky Editor, works on every map with visible sky.
The 3D skybox feature does not work on 3D skybox containg maps but in that case you don't need it, because you can just fly out into the skybox and change it.

How to use it
Go to Entities/Jakub Baku and spawn the Skybox Editor. Press C and right-click the entity, then click Edit Properties... Press "E" while aiming at the entity (use it) to open up the Skybox selection menu. Just click a skybox you want and it will be applied.

Properties:
General
  • Skybox Texture - ex. "skybox/sky_day02_07". You can find a list of skyboxes by using (pressing E) the Skybox Editor. Do not include ".vtf" or "ft", "bk", "up" postfixes. You can also pick a sky texture from a menu (press E on the entity)
  • Skybox Rotation Speed - speed at which the skybox rotates. 0 for normal, stationary skybox. It makes up for an interesting effect with the clouds slowly moving in the background.
  • Greenscreen Skybox - skybox turns monochromatic, good for chroma-keying
  • SkyboxColor - the color of the "green screen" skybox
Fog
  • Override Fog - should this entity affect the fog
  • Auto Fog Color - if enabled the fog color will be matched to that of a skybox. Disable it for manual color selection
  • Fog Editor settings - the same as in regular Fog Editor
Sky Camera (Advanced!) (more on that below)
  • Enable Sky camera - should the 3D skybox be rendered
  • Disable updating skybox - if checked the entity won't refresh the skybox models. You can build a skybox, enable that option and then remove the props.
  • Skybox scale - controls how much bigger will 3D Skybox models be (does not affect the default map 3D Skybox)
  • Skybox Radius - searches for props to render in 3D skybox in that radius (relative to the editor entity)
  • SkyCamera as origin - if set the 3D Skybox will be rendered relative to the Sky Camera entity

Making a 3D Skybox
This tool works really similar to the Hammer Editor's sky_camera entity, so if you're familiar with 3D skybox creation in Hammer it will be easier for you.

What is a 3D Skybox? It's a 3D background of the map giving an illusion of the map being much bigger. Some maps do not contain such thing and there's just an empty void outside of a playable area. With this tool however you can change it!

First, spawn a Skybox Editor, set it up as you like it and then check the Enable Sky camera option. Now you can start building a skybox around the entity. Make sure that the props are in a Skybox Radius. You should see a much bigger version of the prop floating somewhere around. Adjust the position so that the prop is not "clipping" into the world and it stays outside of the map in the skybox. Repeat the process for as many props as you like. You can weld the props to the entity for easier transportation and ability to duplicate it.

Second, what is a Sky camera? It's a "dummy entity". Normally the props are rendered in a 3D skybox relative to the editor entity itself, however there are cases where you want them to be rendered relative to some other point - let's say you have your skybox built in a remote location but you want to render it relative to center of the map. No big problem - just spawn a Sky Camera at the center (or wherever you want), fly back to the editor entity and check the SkyCamera as origin. The skybox will be rendered relative to the Sky Camera now. It's worth noting that the "system" will choose a last spawned sky camera (the newest one if multiple exist) and it will do so only in the moment of enabling the mentioned option, so if you've made a new sky camera make sure to disable and re-enable the SkyCamera as origin.

Known bugs
  • 3D Skybox does not work on maps with default 3D Skybox but that's okay, because if there is a 3D skybox then you can edit it just by flying there and placing props.
  • Some weird reflections in water, I can't fix it, it's a problem with GMod's rendering. Sorry :P The reflections are no longer buggy, but the skybox is not reflected in the water
  • Some skyboxes have visible "seams".
  • It prevents a "unable to shade polygon normals" error, so it's really good!

Passive Agressive FAQ
- No day/night cycle, no dynamic weather and tornadoes. This addon is s**t.
- It's a skybox editor, there are many other addonds for day/night cycle. I won't add it. It's not a purpose of that tool.

- How does auto-fog color work? How does it know what fog color should be used with a selected skybox?
- Well that's easy, I just have a big, 200+ entries list of [texture, fogcolor] pairs. Every texture has an manually asigned color picked by me and 10 of my friends. We've divided the work and were able to complete the job in a little under 2 days of almost constant work. Yeah, just kidding. I've used a feedback loop based neural network.

- 3D Skybox is laggy! It stutters.
- The skybox is laggy so that your game is not. It's refreshed every 0.3 second (if I remember correctly) so it's not super taxing on resources and there's quite a few things to do during refresh. BTW Skybox is supposed to be static, and not some kind of dancing Ryszardo Miłosz.

- Can you add a portal to Siren head dimension opening from the sky? Or Five nights at freddy's orbital attack?
- . . .
Popular Discussions View All (14)
19
1
May 31 @ 2:50pm
plz add fnaf orbital atack
Tex20
5
Oct 7, 2023 @ 12:32pm
nice
BelmondoHunswetoo
5
Apr 12, 2021 @ 8:50am
Nice
hey boys its a spah!
418 Comments
kerar Jul 24 @ 11:27am 
не открывается меню skybox на клавишу "e":steamsad:
Americam Soldeir Jul 24 @ 12:34am 
Hello, I've run into a problem with my skybox editor, I recently accidentally hit the "override all adons" button, and now the skybox is an error texture. But I fixed it and it doesn't display the map anymore, just the skybox, making the ground invisible, any way to fix this besides restarting the map?
Noobmaster69 Jul 21 @ 6:14pm 
i'm trying to add a surface tension skybox from black mesa into the editor but it just comes up as a missing texture i have black mesa mounted as well
zleah8ib Jul 10 @ 1:37pm 
is it possible to make the skybox border taller?
MLEKO POLSKIE Jun 8 @ 9:42am 
nie wiedziałem że polak robi takie zaebyste mody:gordon:
kiffin_💀_James May 15 @ 7:43am 
how can i keep it on at all times?
GoodAndSwordy Apr 17 @ 4:18pm 
Oh thank you so much. My scenes taking place at night are going to look so much better now!
Zsombor99 Apr 11 @ 4:18am 
@WölfKann Can you help? ❔ This addon won't list every single skybox from GarrysMod\garrysmod\materials\skybox, especially custom ones, which means I can't test them this way.
Can I somehow disable the skybox rotation? 🤔 If I apply a skybox with this tool it's slowly rotating.
WölfKann Apr 10 @ 4:57pm 
correction, you have to add a dot after custom skybox textures. to get them to work for some reason.
WölfKann Apr 10 @ 4:52pm 
This doesn't let you use custom packed skyboxes it renders them as pink texture errors.