From 74b175648b6f4711e0f0cbc738b0408ccc863635 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Tue, 14 Jan 2025 19:24:25 +0000 Subject: [PATCH] Fix incorrect offset on 4 point softness modes --- KeepersCompound.Lightmapper/LightMapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KeepersCompound.Lightmapper/LightMapper.cs b/KeepersCompound.Lightmapper/LightMapper.cs index 2c6abfd..cf7ce06 100644 --- a/KeepersCompound.Lightmapper/LightMapper.cs +++ b/KeepersCompound.Lightmapper/LightMapper.cs @@ -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],