Added gizmo to Directional&Spotlight lights, also fixed direction calculations for ProceduralSky

This commit is contained in:
Antoine Pilote
2024-07-28 12:29:21 -04:00
parent eb00ac5274
commit 2653343f56
5 changed files with 308 additions and 282 deletions
+1 -1
View File
@@ -700,7 +700,7 @@ namespace Nuake
if (light.Type == Directional && light.SyncDirectionWithSky)
{
light.Direction = env->ProceduralSkybox->GetSunDirection();
light.Direction = -env->ProceduralSkybox->GetSunDirection();
}
else
{