Env cubemap: Difference between revisions
Jump to navigation
Jump to search
Note:Cubemaps will contain static props, sprites and decals, such as enemy blood and user sprays.
(updates. removed the section about placement because that's already detailed on cubemaps.) |
(wording fix) |
||
Line 1: | Line 1: | ||
{{lang|Env cubemap}} | {{lang|Env cubemap}} | ||
[[File:Cubemap_build_result.jpeg|thumb|right|A cubemap example containing the white static prop car, a sprite and decals. Note that the blue physics prop car is not visible in the cubemap because it is not static.]] | [[File:Cubemap_build_result.jpeg|thumb|right|A cubemap example containing the white static prop car, a sprite and decals. Note that the blue physics prop car is not visible in the cubemap because it is not static.]] | ||
{{base point|env_cubemap|internal=1|sprite=1}} It specifies a location for which a [[cubemap]] will be generated when the {{ent|buildcubemaps}} console command is executed. | {{base point|env_cubemap|internal=1|sprite=1}} It specifies a location for which a [[cubemap]] will be generated when the {{ent|buildcubemaps}} console command is executed. [[Material]]s with {{ent|$envmap}} will use the nearest cubemap as their reflection. | ||
{{intent}} | {{intent}} |
Revision as of 11:56, 23 September 2018
Template:Base point It specifies a location for which a cubemap will be generated when the buildcubemaps console command is executed. Materials with $envmap will use the nearest cubemap as their reflection.

Keyvalues
- Cubemap Size (cubemapsize) ([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 six!
- Brush faces (sides) ([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.