Fix incorrect offset on 4 point softness modes
This commit is contained in:
parent
9bf80b1b5f
commit
74b175648b
|
@ -799,7 +799,7 @@ public class LightMapper
|
|||
return mode switch
|
||||
{
|
||||
SoftnessMode.LowFourPoint or SoftnessMode.MediumFourPoint or SoftnessMode.HighFourPoint => (
|
||||
[-texU - texV, -texU - texV, -texU + texV, texU + texV],
|
||||
[-texU - texV, texU - texV, -texU + texV, texU + texV],
|
||||
[0.25f, 0.25f, 0.25f, 0.25f]),
|
||||
SoftnessMode.MediumFivePoint or SoftnessMode.HighFivePoint => (
|
||||
[Vector3.Zero, -texU - texV, texU - texV, -texU + texV, texU + texV],
|
||||
|
|
Loading…
Reference in New Issue