change light strength to light linearity 0.0 = inverse square, 1.0 = linear

This commit is contained in:
Ricardo Luís Vaz Silva 2024-10-10 16:51:09 -03:00 committed by Magnus Norddahl
commit 74a49ca919
13 changed files with 54 additions and 56 deletions

View file

@ -796,8 +796,8 @@ public:
th->SoftShadowRadius = CheckFloat(key);
break;
case NAME_light_strength:
th->LightStrength = CheckFloat(key);
case NAME_light_linearity:
th->LightLinearity = CheckFloat(key);
break;
case NAME_light_noshadowmap: