Engines/FlatRedBallXNA/FlatRedBall/Graphics/GenericEffect.cs
/// <summary>
/// Needs to be implemented by the IEffectLight child
/// </summary>
Needs to be implemented by the IEffectLight child
Needs to be implemented by the IEffectLight child
public void EnableDefaultLighting()
        {
            this.DirectionalLight0.Direction = new Vector3(-0.5265408f, -0.5735765f, -0.6275069f);
            this.DirectionalLight0.DiffuseColor = new Vector3(1, 0.9607844f, 0.8078432f);
            this.DirectionalLight0.SpecularColor = new Vector3(1, 0.9607844f, 0.8078432f);
            this.DirectionalLight0.Enabled = true;
            this.DirectionalLight1.Direction = new Vector3(0.7198464f, 0.3420201f, 0.6040227f);
            this.DirectionalLight1.DiffuseColor = new Vector3(0.9647059f, 0.7607844f, 0.4078432f);
            this.DirectionalLight1.SpecularColor = Vector3.Zero;
            this.DirectionalLight1.Enabled = true;
            this.DirectionalLight2.Direction = new Vector3(0.4545195f, -0.7660444f, 0.4545195f);
            this.DirectionalLight2.DiffuseColor = new Vector3(0.3231373f, 0.3607844f, 0.3937255f);
            this.DirectionalLight2.SpecularColor = new Vector3(0.3231373f, 0.3607844f, 0.3937255f);
            this.DirectionalLight2.Enabled = true;
            this.AmbientLightColor = new Vector3(0.05333332f, 0.09882354f, 0.1819608f);
        }
public void EnableDefaultLighting ( ) { this . DirectionalLight0 . Direction = new Vector3 ( - 0.5265408f , - 0.5735765f , - 0.6275069f ) ; this . DirectionalLight0 . DiffuseColor = new Vector3 ( 1 , 0.9607844f , 0.8078432f ) ; this . DirectionalLight0 . SpecularColor = new Vector3 ( 1 , 0.9607844f , 0.8078432f ) ; this . DirectionalLight0 . Enabled = true ; this . DirectionalLight1 . Direction = new Vector3 ( 0.7198464f , 0.3420201f , 0.6040227f ) ; this . DirectionalLight1 . DiffuseColor = new Vector3 ( 0.9647059f , 0.7607844f , 0.4078432f ) ; this . DirectionalLight1 . SpecularColor = Vector3 . Zero ; this . DirectionalLight1 . Enabled = true ; this . DirectionalLight2 . Direction = new Vector3 ( 0.4545195f , - 0.7660444f , 0.4545195f ) ; this . DirectionalLight2 . DiffuseColor = new Vector3 ( 0.3231373f , 0.3607844f , 0.3937255f ) ; this . DirectionalLight2 . SpecularColor = new Vector3 ( 0.3231373f , 0.3607844f , 0.3937255f ) ; this . DirectionalLight2 . Enabled = true ; this . AmbientLightColor = new Vector3 ( 0.05333332f , 0.09882354f , 0.1819608f ) ; }
Needs to be implemented by the IEffectLight child
Needs to be implemented by the IEffectLight child
// Key light. // Fill light. // Back light. // Ambient light.