private void SetTexture() { core.Atmosphere.SkySphere_SetTexture(core.TextureFactory.LoadTexture(texture)); FileName = Texture.Replace(string.Format("{0}\\", Application.StartupPath), string.Empty); }