nuclide/Documentation/Materials/commands/vmap_lightmapsamplesize.md

15 lines
624 B
Markdown
Raw Normal View History

2022-10-02 17:10:54 -07:00
# Materials: VMap Commands {#mat_vmap}
## vmap_lightmapsamplesize
### Syntax {#syntax}
**vmap_lightmapSampleSize <int>**
### Overview {#overview}
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.