env_cubemap

From Valve Developer Community

Revision as of 15:35, 29 July 2009 by TomEdwards (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

env_cubemap is a point entity available in all Source games. It specifies a location for which a cubemap will be generated when the buildcubemaps console command is executed.

Objects with $envmap-enabled materials will use the nearest cubemap as their reflection.

Note:This is an internal entity. When the map is compiled by VBSP it is processed and then removed: it does not exist when the map is running.

Keyvalues

Cubemap Size <choices>
The resolution of each face of the cubemap. Remember that the actual number of pixels stored will be your selection times six!
  • Default (usually 32x32, depending on the game)
  • 1x1
  • 2x2
  • 4x4
  • 8x8
  • 16x16
  • 32x32
  • 64x64
  • 128x128
  • 256x256
Brush faces <ints>
An optional override for individual brush faces, forcing them to use this cubemap instead of one closest to them.
To select faces, press the "Pick" button then click on them in the 3D view. Hold Ctrl to toggle a face on or off.
Personal tools