예제 #1
0
        protected void PlaceLights()
        {
            DirectionalLight light = new DirectionalLight();

            light.CastsShadows = true;
            light.CreateShadowMaps();

            RenderScene.AddLight(light);
        }