diff --git a/specs/udmf_zdoom.txt b/specs/udmf_zdoom.txt index 78ccd05b4b..da83b70205 100644 --- a/specs/udmf_zdoom.txt +++ b/specs/udmf_zdoom.txt @@ -426,8 +426,9 @@ Note: All fields default to false unless mentioned otherwise. floatbobphase = ; // Sets the thing's floatbobphase. Valid phase values are 0-63. Default = -1 (use actor class default). lm_sampledist = ; // ZDRay lightmap sample distance for the entire map. Defines the map units each lightmap texel covers. Must be in powers of two. Default = 8 - lm_suncolor = ; // ZDRay lightmap sun color in hex. Default = "FFFFFF" - SoftShadowRadius = ; // ZDRay lightmap light and raytraced dynamic light soft shadow amount. Higher values produce softer shadows. Default = 5.0 + lm_suncolor = ; // ZDRay lightmap sun color. Default is white (0xFFFFFF). + + light_softshadowradius = ; // ZDRay lightmap light and raytraced dynamic light soft shadow amount. Higher values produce softer shadows. Default = 5.0 friendlyseeblocks = ; // How far (in block units) a friendly monster can see other monsters. Default 10 diff --git a/src/maploader/udmf.cpp b/src/maploader/udmf.cpp index 38ec2a0f99..1fd9869c32 100644 --- a/src/maploader/udmf.cpp +++ b/src/maploader/udmf.cpp @@ -791,6 +791,7 @@ public: th->friendlyseeblocks = CheckInt(key); break; + case NAME_light_softshadowradius: case NAME_lm_suncolor: case NAME_lm_sampledist: CHECK_N(Zd | Zdt) diff --git a/src/namedef_custom.h b/src/namedef_custom.h index 4545e87461..dbf94dbafc 100644 --- a/src/namedef_custom.h +++ b/src/namedef_custom.h @@ -868,7 +868,7 @@ xx(lm_dynamic) xx(lm_suncolor) // Light keywords -xx(SoftShadowRadius) +xx(light_softshadowradius) xx(skew_bottom_type) xx(skew_middle_type)