2018-10-30 18:24:45 +00:00
|
|
|
|
|
|
|
# ZDRay baking utility for GZDoom
|
|
|
|
|
|
|
|
ZDRay is a node and lightmap generator. It is based on zdbsp for the node generation and dlight for the lightmap generation.
|
|
|
|
|
|
|
|
Special thanks to Randi Heit, Samuel Villarreal, Christoph Oelckers and anyone else involved in creating or maintaining those tools.
|
|
|
|
|
|
|
|
## ZDRay UDMF properties
|
2018-10-30 18:10:50 +00:00
|
|
|
|
2018-10-30 18:17:03 +00:00
|
|
|
<pre>
|
2021-10-04 21:56:55 +00:00
|
|
|
thing // StaticLight (point or spot light to be baked into the lightmap)
|
2018-10-30 18:10:50 +00:00
|
|
|
{
|
2021-10-04 21:56:55 +00:00
|
|
|
lightcolor = <int> (color)
|
2018-10-30 18:24:45 +00:00
|
|
|
lightintensity = <float> (default: 1)
|
|
|
|
lightdistance = <float> (default: 0, no light)
|
2021-10-04 21:56:55 +00:00
|
|
|
lightinnerangle = <float> (default: 180)
|
|
|
|
lightouterangle = <float> (default: 180)
|
2018-10-30 18:10:50 +00:00
|
|
|
}
|
|
|
|
|
2021-10-04 21:56:55 +00:00
|
|
|
thing // LightProbe (light sampling point for actors)
|
2018-10-30 18:10:50 +00:00
|
|
|
{
|
2021-10-04 21:56:55 +00:00
|
|
|
type = 9875;
|
|
|
|
}
|
|
|
|
|
|
|
|
thing // Sunlight (sunlight properties for the map)
|
|
|
|
{
|
2021-10-05 05:11:12 +00:00
|
|
|
type = 9890;
|
2021-10-04 21:56:55 +00:00
|
|
|
suncolor = <int> (color)
|
|
|
|
sundirx = <float> (X direction for the sun)
|
|
|
|
sundiry = <float> (Y direction for the sun)
|
|
|
|
sundirz = <float> (Z direction for the sun)
|
|
|
|
}
|
|
|
|
|
|
|
|
linedef // Line surface emitting
|
|
|
|
{
|
|
|
|
lightcolor = <int> (color, default: white)
|
2018-10-30 18:24:45 +00:00
|
|
|
lightintensity = <float> (default: 1)
|
|
|
|
lightdistance = <float> (default: 0, no light)
|
2018-10-30 18:10:50 +00:00
|
|
|
}
|
|
|
|
|
2021-10-04 21:56:55 +00:00
|
|
|
sector // Sector planes emitting light
|
2018-10-30 18:10:50 +00:00
|
|
|
{
|
2018-10-30 18:24:45 +00:00
|
|
|
lightcolorfloor = <int> (color, default: white)
|
|
|
|
lightintensityfloor = <float> (default: 1)
|
|
|
|
lightdistancefloor = <float> (default: 0, no light)
|
2018-10-30 18:10:50 +00:00
|
|
|
|
2018-10-30 18:24:45 +00:00
|
|
|
lightcolorceiling = <int> (color, default: white)
|
|
|
|
lightintensityceiling = <float> (default: 1)
|
|
|
|
lightdistanceceiling = <float> (default: 0, no light)
|
2018-10-30 18:10:50 +00:00
|
|
|
}
|
2018-10-30 18:17:03 +00:00
|
|
|
</pre>
|