This article's documentation is for anything that uses the Source engine. Click here for more information.

Building cubemaps (console command): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 2: Line 2:
{{For|building cubemaps|[[Cubemaps#Building_cubemaps|Cubemaps - Building cubemaps section]]}}
{{For|building cubemaps|[[Cubemaps#Building_cubemaps|Cubemaps - Building cubemaps section]]}}
{{this is a|console variable|name=building_cubemaps}}
{{this is a|console variable|name=building_cubemaps}}
This [[boolean]] [[cvar]], when enabled, set HDR exposure to consistent value, so you can build cubemaps without one cubemap texture looks brighter/darker than other. It will also disable {{ent|env_sun}}.
This [[boolean]] [[cvar]], when enabled, set HDR exposure to a consistent value, so you can build cubemaps without one cubemap texture looking brighter/darker than others. It will also disable {{ent|env_sun}}.


{{Note|This console variable is flagged as "launcher"-only in {{l4d|1}} and {{l4d2|1}}, so use the following command instead: </br>{{L4d}} {{code|sm_cvar building_cubemaps 1}} command (with [[SourceMod]] installed) or </br>{{L4d2}} {{code|script Convars.SetValue("building_cubemaps", "1")}} (using [[VScript]]).}}
{{Note|This console variable is flagged as "launcher"-only in {{l4d|1}} and {{l4d2|1}}, so use the following command instead: </br>{{L4d}} {{code|sm_cvar building_cubemaps 1}} command (with [[SourceMod]] installed) or </br>{{L4d2}} {{code|script Convars.SetValue("building_cubemaps", "1")}} (using [[VScript]]).}}


[[Category:Cubemaps]]
[[Category:Cubemaps]]

Latest revision as of 04:28, 26 May 2025

English (en)Translate (Translate)
For building cubemaps, see Cubemaps - Building cubemaps section.

building_cubemaps is a console variable available in all Source Source games. This boolean cvar, when enabled, set HDR exposure to a consistent value, so you can build cubemaps without one cubemap texture looking brighter/darker than others. It will also disable env_sun.

Note.pngNote:This console variable is flagged as "launcher"-only in Left 4 Dead and Left 4 Dead 2, so use the following command instead:
Left 4 Dead sm_cvar building_cubemaps 1 command (with SourceMod installed) or
Left 4 Dead 2 script Convars.SetValue("building_cubemaps", "1") (using VScript).