I would like to achieve an effect in XNA where I move the clipping plane through an object and the object fades out. While the cropped area is filled with custom color or texture.
This is what I was able to achieve through HLSL:

And this is what I really need:

I think the kettle is not a good example, because the models that I would use would always be completely closed at all times.
Are there any good solutions for this?
source share