buildcubemaps

From Source Entities
Jump to navigation Jump to search

The buildcubemaps console command (requires sv_cheats 1 in multiplayer games) will take images of the surroundings of env_cubemaps and then apply them appropriately to materials using $envmap.

While this console command is running, the convar building_cubemaps will be set to 1, causing a number of very small visual differences.

Errors[edit | edit source]

Cube map buffer size 1024 x 1024 is bigger than screen!
Run at a higher resolution! or reduce your cubemap resolution (needs 4X)

This error message means your cubemap resolution is too big for your screen. Certain graphics cards may be able to scale their resolution independent of the screen to alleviate this issue.

See also[edit | edit source]

  • Cubemaps on VDC - Building instructions for certain games.