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

@ -54,8 +54,8 @@ namespace SM_TEST
}
private static void WindowOnLoad(object sender, EventArgs e)
{
//scene.ShowAxisHelper = true;
{
scene.ShowAxisHelper = true;
kasten = new DrawObject2D();
kasten.Texture = new Texture(new Bitmap("herosword.png"));
@ -64,7 +64,9 @@ namespace SM_TEST
DrawText text = new DrawText(font, "Text");
text.Transform.Position.Set(0, 500);
scene.Objects.Add(text);
scene.HUD.Add(text);
scene.LightInformations.Ambient = Color4.Blue;
//particles.Trigger();
}