Env cubemap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(→‎Keyvalues: Added comparison photo shoving different quality reflections)
Line 13: Line 13:
==Keyvalues==
==Keyvalues==


{{KV|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!}}
{{KV|Cubemap Size|choices|The resolution of each face of the cubemap. Remember that the actual number of pixels stored will be your selection times four!}}
:* Default (usually 32x32, depending on the game)
:* Default (usually 32x32, depending on the game)
:* 1x1
:* 1x1
Line 24: Line 24:
:* 128x128
:* 128x128
:* 256x256
:* 256x256
Comparison of reflection quality ''(1x1 is not included because it does not reflect at all)'':
[[File:comparison_cubemapquality.jpg|center|thumb]]
{{KV|Brush faces|sidelist|An optional override for individual brush faces, forcing them to use this cubemap instead of one closest to them.<br/> 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.}}
{{KV|Brush faces|sidelist|An optional override for individual brush faces, forcing them to use this cubemap instead of one closest to them.<br/> 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 11:43, 12 February 2014

Template:Otherlang2


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.

Template:Intent

Keyvalues

Cubemap Size ([todo internal name (i)]) <choices>
The resolution of each face of the cubemap. Remember that the actual number of pixels stored will be your selection times four!
  • Default (usually 32x32, depending on the game)
  • 1x1
  • 2x2
  • 4x4
  • 8x8
  • 16x16
  • 32x32
  • 64x64
  • 128x128
  • 256x256

Comparison of reflection quality (1x1 is not included because it does not reflect at all):

Comparison cubemapquality.jpg


Brush faces ([todo internal name (i)]) <sidelist>
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.