I'm posting this in General Discussion as this has nothing to do with programming.
My #1 scene, Three Bridge (the one in every Aerora screenshot), decided to stop rendering shadows from the directional light in 2.32.
It renders them in-editor, but not in-application.
This at first would seem I have done something wrong in my coding - however, another scene, loaded the same way, has shadows on its directional light.
I made all the directional light settings the same across scenes. It shouldn't be in this either.
Therefore:
-Shouldn't be about the coding, Scene 2 displays fine with same code.
-Shouldn't be about the light settings, Scene 2 displays fine with the same settings.
-Shouldn't be about the dependencies, Scene 2 displays fine with the same files.
Any idea? This is getting utterly annoying.
using Leadwerks;
public static class Base
{
private static void Main()
{
try
{
Engine.Initialize();
Framework.Initialize();
Filtering.Optimize();
FileSystem.Initialize(@"C:\Program Files\Aerora");
}
catch (LeadwerksException e)
{
Debug.Alert(e);
Engine.Terminate();
}
Framework.Effects.VolumetricLighting.Enabled = true;
Framework.Effects.Bloom.Enabled = true;
Framework.Effects.DepthOfField.Far.Enabled = true;
Framework.Effects.DepthOfField.Far.Range = new Range(50, 700);
Scene.Load("abstract::Three Bridge.sbx");
while (!Window.HasRequestedClose)
{
/* Camera Code, not relevant {...} */
Timing.Update();
Framework.Update();
Framework.Render();
Graphics.Flip();
}
Framework.Terminate();
Engine.Terminate();
}
}