nuclide/Documentation/Materials/commands/vmap_lightmapsampleoffset.md

13 lines
476 B
Markdown
Raw Normal View History

2022-10-02 17:10:54 -07:00
# Materials: VMap Commands {#mat_vmap}
## vmap_lightmapsampleoffset
### Syntax {#syntax}
**vmap_lightmapSampleOffset <float>**
### Overview {#overview}
Takes a single parameter, defaulting to 1.0, which specifies how many
units off a surface should the compiler sample lighting from. Use larger
values (2.0-8.0) if you're getting ugly splotches on lightmapped
terrain. Try to use filtering to solve splotches if possible, leaving
vmap_lightmapSampleOffset as a last resort.