protected void CreateBoardModels(ContentPackage package) { MeshGroup group = package.LoadMeshGroup(BoardMeshSource); int texture = package.LoadTexture(BoardTextureSource); DiffuseMaterial material = new DiffuseMaterial(texture, BoardMaterialName); material.Load(package); RenderScene.AddMaterial(material); Model pawn = new Model() { Name = BoardModelName, Material = material, MeshGroup = group }; RenderScene.AddModel(pawn); RenderNode node = new RenderNode() { Model = pawn, Transform = Matrix4.Identity }; RenderScene.AddRenderNode(node); }