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
No edit summary
Line 5: Line 5:


{{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]]

Revision as of 19:07, 17 February 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 consistent value, so you can build cubemaps without one cubemap texture looks brighter/darker than other. 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).