/// <summary> /// Test sky cube mapping /// </summary> //[Test] public static void TestSkyCubeMapping() { PreScreenSkyCubeMapping skyCube = null; TestGame.Start("TestSkyCubeMapping", delegate { skyCube = new PreScreenSkyCubeMapping(); }, delegate { skyCube.RenderSky(); }); }
} // SkyCubeMapTexture #endregion #region Constructor /// <summary> /// Create user interface renderer /// </summary> public UIRenderer() { splashLogos[0] = new Texture("logoonly_xna"); splashLogos[1] = new Texture("logoonly_exdream"); splashLogos[2] = new Texture("logoonly_microsoft"); background = new Texture("background.png"); buttons = new Texture("buttons.png"); logos = new Texture("logos.png"); helpScreen = new Texture("HelpScreen.png"); optionsScreen = new Texture("OptionsScreen.png"); creditsScreen = new Texture("CreditsScreen.png"); mouseCursor = new Texture("MouseCursor.png"); ingame = new Texture("Ingame.png"); trophy = new Texture("pokal1"); font = new TextureFont(); postScreenMenuShader = new PostScreenMenu(); postScreenGameShader = new PostScreenGlow(); skyCube = new PreScreenSkyCubeMapping(); lensFlare = new LensFlare(LensFlare.DefaultSunPos); BaseGame.LightDirection = LensFlare.DefaultLightPos; } // UIRenderer()