nuclide/Documentation/Materials/ToolCommands/vmap_lightmapsamplesize.md
Marco Cawthorne d41b90c081 Base: Give some love to base/
VGUI-Menu: friendList, chat backend, textview class proto
SurfaceProps: Flesh impacts recognition
PropData: BreakModels now use a bodyque to limit possible physics overhead
PMove: falldamage, liquids can now be configured via external decl
NSWeapon: added alternative punchangle based on springs, 'punchSpring X Y Z' in decl
API: Team class management APIS
NSPhysicsEntity: Optimised, optimised, optimised. New cvar: phys_lowspec. Scraping, impact effects etc have been added.
More polish everywhere else
2025-01-02 18:53:55 -08:00

16 lines
607 B
Markdown

# Material Command List {#mat_commands}
## vmap_lightmapsamplesize
### Syntax
**vmap_lightmapSampleSize \<int\>**
### 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.