Env cubemap: Difference between revisions
Jump to navigation
Jump to search
m (Robot: Automated text replacement (-\{\|\r +{| class=standard-table)) |
TomEdwards (talk | contribs) (cleanup) |
||
Line 1: | Line 1: | ||
{{ | [[File:Env_cubemap.png|left]] | ||
{{base point|env_cubemap}} It specifies a location for which a [[cubemap]] will be generated when the [[buildcubemaps]] console command is executed. | |||
Objects with <code>[[$envmap]]</code>-enabled [[material]]s will use the nearest cubemap as their reflection. | |||
{{intent}} | {{intent}} | ||
=== | ==Keyvalues== | ||
; Cubemap Size <code><choices></code> | |||
: 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 <code><[[int]]s></code> | |||
: 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 {{key|Ctrl}} to toggle a face on or off. | |||
: | |||
: | |||
Revision as of 08:35, 29 July 2009
Template:Base point 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.
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.