Пример #1
0
 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)
 {
 }