public override void LoadContent() { MyRender.Log.WriteLine("MyBackgroundCube.LoadContent() - START"); MyRender.Log.IncreaseIndent(); MyRender.GetRenderProfiler().StartProfilingBlock("MyBackgroundCube"); Static = this; UpdateTexture(); m_loaded = false; // Projection matrix according to zoom level m_backgroundProjectionMatrix = Matrix.CreatePerspectiveFieldOfView(1.0f, MyRenderCamera.AspectRatio, 50, 100000); MyRender.GetRenderProfiler().EndProfilingBlock(); MyRender.Log.DecreaseIndent(); MyRender.Log.WriteLine("MyBackgroundCube.LoadContent() - END"); }