This article's documentation is for Source 2. Click here for more information.

2D Skybox Creation

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Edit Tabs

Broom icon.png

This article or section needs to be cleaned up to conform to a higher standard of quality because:
Quickly copy pasted from Source 1 counterpart, with some modifications. Info needs to be added.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

Stub

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

Environment articles:
Skies and environment maps GoldSrc GoldSrc: SkyboxList of skies
Source Source: Skybox (2D)Skybox (3D)HDR SkiesSkybox with TerragenSkybox with Terragen - AdvancedList of skies
Source 2 Source 2: Skybox (2D)Skybox (3D)List of skies
Terrain and displacement mapping DisplacementsCreating Holes in DisplacementsDigital Elevation ModelsCreating custom terrain with Worldmachine

Stub

This article or section is a stub. You can help by expanding it.