Envshot (console command)

Description

Captures six square images for use as a cube map .

Usage

At the console type…

envshot [prefix] [size] [blends]

Parameters

  • [prefix] - The prefix used to name each image.
  • [size] - The horizontal and vertical resolution to save the images at.
  • [blends] - Number of image samples; works as forced anti-aliasing for rendered cubemap images

Notes

The capture point is the player’s current position.

The player is included in captures if the CVar pm_thirdperson is enabled.

Images are saved as 24-bit tgas to the env directory.

There have been reports that under certain circumstances this command does not export seamless cubemaps. The current cause is believed to be the screen resolution. The command is reported to work properly when running the game at 640 x 480.