3D Lights and shadows

This commit is contained in:
Marco 2025-06-28 10:05:07 +02:00
commit f3edc2b433
13 changed files with 2409 additions and 2173 deletions

View file

@ -0,0 +1,15 @@
using Godot;
namespace Cirno._3D.TrenchBroom.EntityScripts.Lights;
[Tool]
public partial class SpecialSubSpotLight : SpotLight3D
{
public override void _Ready()
{
var parent = GetParent<OmniLight3D>();
this.SpotRange = parent.OmniRange;
this.SpotAttenuation = parent.OmniAttenuation;
}
}