2022-10-03 00:10:54 +00:00
|
|
|
# Materials: VMap Commands {#mat_vmap}
|
|
|
|
## vmap_lightmapsamplesize
|
2022-10-17 20:33:16 +00:00
|
|
|
### Syntax
|
2022-10-03 00:10:54 +00:00
|
|
|
|
|
|
|
**vmap_lightmapSampleSize <int>**
|
|
|
|
|
2022-10-17 20:33:16 +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.
|