Added Ambient-Light

This commit is contained in:
Michel Fedde 2020-12-13 16:30:57 +01:00
parent e4e7db8dc0
commit 597a14743b
7 changed files with 40 additions and 10 deletions

View file

@ -6,6 +6,7 @@ using SM.Base.Contexts;
using SM.Base.Objects.Static;
using SM.Base.Scene;
using SM2D.Drawing;
using SM2D.Light;
#endregion
@ -16,6 +17,7 @@ namespace SM2D.Scene
private static DrawObject2D _axisHelper;
public float AxisHelperSize = 100;
public LightSceneExtension LightInformations;
static Scene()
{
_axisHelper = new DrawObject2D();
@ -25,6 +27,8 @@ namespace SM2D.Scene
public Scene()
{
_Background = new DrawBackground(Color4.Black);
SetExtension(LightInformations = new LightSceneExtension());
}