2D Skybox Creation

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Edit Tabs
Icon-callout-cleanup.png
This article or section needs to be cleaned up to conform to a higher standard of quality because:
Reason 
Quickly copy pasted from Source 1 counterpart, with some modifications. Info needs to be added.
This article or section is a stub. You can help by expanding it.

The 2D Skybox of a Source 2 Source 2 map is a static 360° background image that is rendered only through skybox tool textures. This image is composed of a single Equirectangular panoramic image, such as an HDRI map.

As opposed to a 3D Skybox, it lacks geometrical depth, consisting only of textures.

Adding sky to a map

toolsskybox for 2D and 3D skyboxes

Simply texture a mesh (not a mesh entity) with the tools/toolsskybox.

In-game, the skybox will be seen through each surface that toolsskybox is applied to.

Changing the displayed skybox

Sky change.png

The skybox for a map can be set in env_sky entity. With the correct map opened, follow these steps:

  1. Place an env_sky entity.
  2. Double click on the entity or RMB Right click > Properties.
  3. Set Sky Material to your sky name. For the list of skies available in Source 2 games, see this page.

Skybox Lighting

[Todo]

Creating a Custom 2D Skybox Texture

Use Material Editor to create custom 2D Skybox texture.

Porting existing cubic sky texture

Todo: Document how to port GoldSrc/Source 1 cubic sky textures to a single equirectangular panoramic image.

See also

Navigation