Cubemaps (Source 2)
{{subst:#if:|||
Important step for replacing wikilinks after you've created this page
After you click 'Edit' do what the image shows. If you can't see editing toolbar you need to enable it in 'Preferences' -> Editing -> checkbox 'Enable the editing toolbar'
![]() |
参见: {{LAuto}}
|
--- DON'T JUST BLINDLY DELETE THIS PART. DO REPLACE THE LINKS AND CATEGORIES. THE PICTURE SHOWS HOW TO USE IT ! ---
SEARCH FOR: \[\[(?!#|File(?:[ _]talk)?:|Image(?:[ _]talk)?:|Media:|Template(?:[ _]talk)?:|MediaWiki(?:[ _]talk)?:|Talk:|Category[ _]talk:|Project[ _]talk:|Valve[ _]Developer[ _]Community[ _]talk:|Help[ _]talk:|User(?:[ _]talk)?:|c:|commons:|Dictionary:|Google:|GoogleGroups:|IMDB:|M:|Meta:|Metawikipedia:|MW:|SdkBug:|SourceForge:|Steampowered:|W:|Wiki:|WikiBooks:|Wikipedia:|Wikiquote:|Wiktionary:|WP:)(:?(?:Category|Category|Help|Project|Valve[ _]Developer[ _]Community|Special|)(?:[^\|\]]+))(\|?.*?)\]\]
REPLACE WITH: {{subst:LAuto|$1$2}}
}}
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
The person who added this notice will be listed in its edit history should you wish to contact them.

You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)
A cubemap is a texture that represents a three-dimensional rendering of an area. 起源2 has env_cubemap, env_cubemap_box and/or other cubemap entities as sampling points to generate these textures, which are then integrated into the map file. Cubemaps in Source 2 are also parallax corrected if env_cubemap_box is used.
Entities
- env_cubemap (仅存在于
之中)
- env_cubemap_box (仅存在于
之中)
- env_cubemap_fog (仅存在于
之中)
- env_combined_light_probe_volume (仅存在于
之中) - combines both env_light_probe_volume and env_cubemap_box into one entity.
Preview in Hammer (仅存在于
之中)
You can preview cubemaps by going to "Preview Baked Lighting" menu > Bake All Cubemaps. You can also use "Bake Selected Cubemaps" to preview the selected cubemaps.
Building cubemaps


If you didn't enable the option to automatically build cubemaps through Hammer, submit the following commands into the game's console in order to build cubemaps manually:
Command | Description |
---|---|
map map_name | Loads the map; replace "map_name" with the map's actual name |
buildcubemaps | Begins building cubemaps. The map will be automatically reloaded, and the new cubemap texture will be shown. |