Added gizmo to Directional&Spotlight lights, also fixed direction calculations for ProceduralSky
This commit is contained in:
@@ -700,7 +700,7 @@ namespace Nuake
|
||||
|
||||
if (light.Type == Directional && light.SyncDirectionWithSky)
|
||||
{
|
||||
light.Direction = env->ProceduralSkybox->GetSunDirection();
|
||||
light.Direction = -env->ProceduralSkybox->GetSunDirection();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user