Exemple #1
0
        // Methods --------------------------------------------------------------------
        public CaelumSkydome(CaelumItem item)
        {
            Initialise(RenderQueueGroupID.SkiesEarly + 1, item.Mesh, item.Scale, item.Rotation);

            Pass pass = MainMaterial.GetBestTechnique().Passes[0];
            mShadersEnabled = !(string.IsNullOrEmpty(pass.FragmentProgramName) ||
                                string.IsNullOrEmpty(pass.VertexProgramName));

            mInstance = this;
        }
Exemple #2
0
 public override void Dispose()
 {
     base.Dispose();
     mInstance = null;
 }