Nez.Portable/Graphics/DeferredLighting/Effects/DeferredLightEffect.cs
/// <summary>
/// updates the shader values for the light and sets the appropriate CurrentTechnique
/// </summary>
/// <param name="light">Light.</param>
updates the shader values for the light and sets the appropriate CurrentTechnique
updates the shader values for the light and sets the appropriate CurrentTechnique
public void updateForLight(DirLight light)
        {
            setColor(light.color);
            setAreaDirectionalLightDirection(light.direction);
            setSpecularPower(light.specularPower);
            setSpecularIntensity(light.specularIntensity);
            directionalLightPass.Apply();
        }
public void updateForLight ( DirLight light ) { setColor ( light . color ) ; setAreaDirectionalLightDirection ( light . direction ) ; setSpecularPower ( light . specularPower ) ; setSpecularIntensity ( light . specularIntensity ) ; directionalLightPass . Apply ( ) ; }
updates the shader values for the light and sets the appropriate CurrentTechnique
updates the shader values for the light and sets the appropriate CurrentTechnique
light
DirLight
None