Lightmap parsing update

This commit is contained in:
nashmuhandes 2025-06-13 03:58:12 +08:00 committed by Ricardo Luís Vaz Silva
commit 033ea084a6
3 changed files with 19 additions and 0 deletions

View file

@ -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;

View file

@ -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)