Exemple #1
0
        void AddSky()
        {
            // Add a sky using a static texture. We will use the sky texture
            // to do per pixel lighting on each simulation visual entity
            SkyEntity sky = new SkyEntity("sky.dds", "sky_diff.dds");

            SimulationEngine.GlobalInstancePort.Insert(sky);
        }
Exemple #2
0
 void AddSky()
 {
     // Add a sky using a static texture. We will use the sky texture
     // to do per pixel lighting on each simulation visual entity
     SkyEntity sky = new SkyEntity("sky.dds", "sky_diff.dds");
     SimulationEngine.GlobalInstancePort.Insert(sky);
 }