nuclide/Documentation/Materials/ToolCommands/vmap_lightmapsamplesize.md

16 lines
607 B
Markdown
Raw Normal View History

2024-06-22 07:24:13 +00:00
# Material Command List {#mat_commands}
### vmap_lightmapsamplesize
#### Syntax
2022-10-03 00:10:54 +00:00
**vmap_lightmapSampleSize <int>**
2024-06-22 07:24:13 +00:00
#### Overview
2022-10-03 00:10:54 +00:00
Surfaces using a material with this option will have the pixel size of
the lightmaps set to N world grid units. This option can be used to
produce high-resolution shadows on certain surfaces. In addition, it can
be used to reduce the size of lightmap data, where high-resolution
shadows are not required, gaining memory and performance benefits. The
default sample size is 8, smaller numbers increases lightmap resolution.
In general, you should stick with power of 2 values.