Exemplo n.º 1
0
        public SceneManager() : base("MVSceneManager")
        {
            //
            // TODO: Add constructor logic here
            //

            // set up default shadow parameters
            SetShadowTextureSettings(1024, 1, Axiom.Media.PixelFormat.FLOAT32_R);
            shadowColor                 = new ColorEx(0.75f, 0.75f, 0.75f);
            shadowFarDistance           = 20000;
            shadowDirLightExtrudeDist   = 100000;
            ShadowCasterRenderBackFaces = false;

            fogConfig          = new FogConfig(this);
            ambientLightConfig = new AmbientLightConfig(this);
        }
 public ColorValue(AmbientLightConfig config)
     : base(AnimableType.ColorEx)
 {
     this.config = config;
     SetAsBaseValue(ColorEx.Black);
 }
 public ColorValue(AmbientLightConfig config)
     : base(AnimableType.ColorEx)
 {
     this.config = config;
     SetAsBaseValue(ColorEx.Black);
 }
        public SceneManager()
            : base("MVSceneManager")
        {
            //
            // TODO: Add constructor logic here
            //

            // set up default shadow parameters
            SetShadowTextureSettings(1024, 1, Axiom.Media.PixelFormat.FLOAT32_R);
            shadowColor = new ColorEx(0.75f, 0.75f, 0.75f);
            shadowFarDistance = 20000;
            shadowDirLightExtrudeDist = 100000;
            ShadowCasterRenderBackFaces = false;

            fogConfig = new FogConfig(this);
            ambientLightConfig = new AmbientLightConfig(this);
        }