Nez.Portable/Graphics/DeferredLighting/Effects/DeferredLightEffect.cs
/// <summary>
/// sets the two textures required for the final combine and applies the pass
/// </summary>
/// <param name="diffuse">Diffuse.</param>
/// <param name="lightMap">Light map.</param>
sets the two textures required for the final combine and applies the pass
sets the two textures required for the final combine and applies the pass
public void prepareForFinalCombine(Texture2D diffuse, Texture2D lightMap, Texture2D normalMap)
        {
            _colorMapParam.SetValue(diffuse);
            _lightMapParam.SetValue(lightMap);
            _normalMapParam.SetValue(normalMap);
            finalCombinePass.Apply();
        }
public void prepareForFinalCombine ( Texture2D diffuse , Texture2D lightMap , Texture2D normalMap ) { _colorMapParam . SetValue ( diffuse ) ; _lightMapParam . SetValue ( lightMap ) ; _normalMapParam . SetValue ( normalMap ) ; finalCombinePass . Apply ( ) ; }
sets the two textures required for the final combine and applies the pass
sets the two textures required for the final combine and applies the pass
diffuse
Texture2D
None
lightMap
Texture2D
None
normalMap
Texture2D