change light strength to light linearity 0.0 = inverse square, 1.0 = linear
This commit is contained in:
parent
55940ba21d
commit
74a49ca919
13 changed files with 54 additions and 56 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue