06-26-2017, 08:34 PM
I am using MeshNormalEffect.cs and am able to break on ApplyMaterial, however when I implement the interface GetRequiredRenderingPassesCount is never called.
Is there something else I need to call in order to enable passes?
Code:
public class MeshNormalColorEffect : Ab3d.DirectX.Effect, Ab3d.DirectX.IMultiPassEffect
{
...
public int GetRequiredRenderingPassesCount(IList<ILight> lights, RenderingContext renderingContext)
{
throw new NotImplementedException();
}
public virtual void ApplyRenderingPass(int renderingPassIndex, RenderingContext renderingContext)
{
throw new NotImplementedException();
}
}Is there something else I need to call in order to enable passes?

