Added Ambient-Light
This commit is contained in:
parent
e4e7db8dc0
commit
597a14743b
7 changed files with 40 additions and 10 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue