Update documentation (per surface sampling distance)

This commit is contained in:
nashmuhandes 2022-06-29 14:56:19 +08:00
parent 023d75f879
commit 18e291c13a
2 changed files with 19 additions and 2 deletions

View file

@ -39,7 +39,8 @@ Usage: zdray [options] sourcefile.wad
-S, --size=NNN lightmap texture dimensions for width and height must
be in powers of two (1, 2, 4, 8, 16, etc)
-C, --cpu-raytrace Use the CPU for ray tracing
-D, --vkdebug Print messages from the vulkan validation layer
-D, --vkdebug Print messages from the Vulkan validation layer
--dump-mesh Export level mesh and lightmaps for debugging
-w, --warn Show warning messages
-t, --no-timing Suppress timing information
-V, --version Display version information
@ -71,4 +72,20 @@ thing // LightProbe (light sampling point for actors)
{
type = 9875;
}
linedef
{
// Customizable sampling distance per line surface. Will use the value from the ZDRayInfo actor by default.
lm_sampledist = <int> (default: 0)
lm_sampledist_top = <int> (default: 0)
lm_sampledist_mid = <int> (default: 0)
lm_sampledist_bot = <int> (default: 0)
}
sector
{
// Customizable sampling distance for floors and ceilings.
lm_sampledist_floor = <int> (default: 0)
lm_sampledist_ceiling = <int> (default: 0)
}
</pre>

View file

@ -501,7 +501,7 @@ static void ShowUsage()
" -j, --threads=NNN Number of threads used for raytracing (default %d)\n"
" -S, --size=NNN lightmap texture dimensions for width and height must be in powers of two (1, 2, 4, 8, 16, etc)\n"
" -C, --cpu-raytrace Use the CPU for ray tracing\n"
" -D, --vkdebug Print messages from the vulkan validation layer\n"
" -D, --vkdebug Print messages from the Vulkan validation layer\n"
" --dump-mesh Export level mesh and lightmaps for debugging\n"
" -w, --warn Show warning messages\n"
#if HAVE_TIMING