protected override void OnSetEffect(BaseRenderEffect effect)
 {
     if (effect != null)
     {
         effect.SetReflectionBuffer(m_ReflectionTarget);
         effect.SetRefractionBuffer(m_RefractionTarget);
         effect.SetOffsetBuffer(m_OffsetMap);
         effect.SetNormalBuffer(m_NormalMap);
     }
 }
示例#2
0
 protected virtual void OnSetEffect(BaseRenderEffect effect)
 {
 }