Lightmap parsing update
This commit is contained in:
parent
e435a4ef64
commit
033ea084a6
3 changed files with 19 additions and 0 deletions
|
|
@ -431,6 +431,7 @@ Note: All <bool> fields default to false unless mentioned otherwise.
|
|||
lm_sunintensity = <float>; // lightmap sun intensity multiplier. Default = 1.0 [VKDOOM]
|
||||
lm_ao = <bool>; // enables ambient occlusion baking with VKTool. [VKDOOM]
|
||||
lm_bounce = <bool>; // enables bounce light baking with VKTool. [VKDOOM]
|
||||
lm_dynamic = <bool>; // enables dynamic lightmap updates for the whole map (without having to do it per sector). Use with care as this can drag down performance. Default = false [VKDOOM]
|
||||
|
||||
// Dynamic and lightmap light fields [VKDOOM]
|
||||
light_softshadowradius = <float>; // lightmap light and raytraced dynamic light soft shadow amount. Higher values produce softer shadows. Default = 5.0 [VKDOOM]
|
||||
|
|
|
|||
|
|
@ -792,8 +792,17 @@ public:
|
|||
break;
|
||||
|
||||
case NAME_light_softshadowradius:
|
||||
case NAME_light_linearity:
|
||||
case NAME_light_noshadowmap:
|
||||
case NAME_light_dontlightactors:
|
||||
case NAME_light_dontlightmap:
|
||||
case NAME_light_shadowminquality:
|
||||
case NAME_lm_suncolor:
|
||||
case NAME_lm_sunintensity:
|
||||
case NAME_lm_sampledist:
|
||||
case NAME_lm_bounce:
|
||||
case NAME_lm_ao:
|
||||
case NAME_lm_dynamic:
|
||||
CHECK_N(Zd | Zdt)
|
||||
break;
|
||||
|
||||
|
|
@ -2205,6 +2214,7 @@ public:
|
|||
|
||||
case NAME_lm_sampledist_floor:
|
||||
case NAME_lm_sampledist_ceiling:
|
||||
case NAME_lm_dynamic:
|
||||
CHECK_N(Zd | Zdt)
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -871,9 +871,17 @@ xx(lm_sampledist_floor)
|
|||
xx(lm_sampledist_ceiling)
|
||||
xx(lm_dynamic)
|
||||
xx(lm_suncolor)
|
||||
xx(lm_sunintensity)
|
||||
xx(lm_bounce)
|
||||
xx(lm_ao)
|
||||
|
||||
// Light keywords
|
||||
xx(light_softshadowradius)
|
||||
xx(light_linearity)
|
||||
xx(light_noshadowmap)
|
||||
xx(light_dontlightactors)
|
||||
xx(light_dontlightmap)
|
||||
xx(light_shadowminquality)
|
||||
|
||||
xx(skew_bottom_type)
|
||||
xx(skew_middle_type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue