예제 #1
0
        private Sky intitializeSky()
        {
            TextureCube tc      = Content.Load <TextureCube>("clouds");
            Model       pmodel  = Content.Load <Model>("skysphere_mesh");
            SkyUnit     skyUnit = new SkyUnit(this, Vector3.Zero, Vector3.Zero, new Vector3(10000));
            Sky         sky     = new Sky(this, pmodel, skyUnit, tc);

            return(sky);
        }
예제 #2
0
        private Sky intitializeSky()
        {
            TextureCube tc = Content.Load<TextureCube>("clouds");
            Model pmodel = Content.Load<Model>("skysphere_mesh");
            SkyUnit skyUnit = new SkyUnit(this, Vector3.Zero, Vector3.Zero, new Vector3(10000));
            Sky sky = new Sky(this, pmodel, skyUnit, tc);

            return sky;
        }