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); } }
protected virtual void OnSetEffect(BaseRenderEffect effect) { }