/// <summary>
        /// Adds one post effect.
        /// </summary>
        /// <param name="postEffect">The post effect.</param>
        public virtual void AddPostEffect(IPostEffect postEffect)
        {
            System.Diagnostics.Debug.Assert(postEffect != null);
            if ((postEffect.PostEffectType & PostEffectType) != PostEffectType)            
            {
                ActiveLogger.LogMessage("Trying to add a wrong post effect for this Render Technich, pls check if the PostEffectType of the IPostEffect is All or " + PostEffectType + ", The engine is ignoring this operation", LogLevel.RecoverableError);
            }
            else
            {
                if (ginfo != null && factory != null)
                    postEffect.Init(ginfo, factory);
                PostEffects.Push(postEffect);
                postEffect.tech = this;

            }
        }
 /// <summary>
 /// Adds one post effect.
 /// </summary>
 /// <param name="postEffect">The post effect.</param>
 public virtual void AddPostEffect(IPostEffect postEffect)
 {
     System.Diagnostics.Debug.Assert(postEffect != null);
     if ((postEffect.PostEffectType & PostEffectType) != PostEffectType)
     {
         ActiveLogger.LogMessage("Trying to add a wrong post effect for this Render Technich, pls check if the PostEffectType of the IPostEffect is All or " + PostEffectType + ", The engine is ignoring this operation", LogLevel.RecoverableError);
     }
     else
     {
         if (ginfo != null && factory != null)
         {
             postEffect.Init(ginfo, factory);
         }
         PostEffects.Push(postEffect);
         postEffect.tech = this;
     }
 }