private void BlendWithScene(RenderTexture src, RenderTexture dst, RenderTexture fogTarget)
        {
            if (!m_AddSceneColor)
            {
                Graphics.Blit(src, dst);
                return;
            }

            ApplyFogMaterial.SetTexture(ShaderIDs.FogRendertargetLinear, fogTarget);

            Graphics.Blit(src, dst, ApplyFogMaterial);
        }
    private void BlendWithScene(RenderTexture source, RenderTexture destination, RenderTexture fogTarget)
    {
        if (!_AddSceneColor)
        {
            return;
        }

        //send fog texture
        ApplyFogMaterial.SetTexture("FogRendertargetLinear", fogTarget);

        //apply to main rendertarget
        Graphics.Blit(source, destination, ApplyFogMaterial);
    }