Hello there,

I'm trying to clip a model along a plane.
If I'm not mistaken a user on these forums once achieved this in a portal shader or something like that.

In HLSL there is a function called clip, which seems to do exactly what i need. Unfortunately i am not very experienced in writing shaders.
Let's say i want to cut a model in half along a horizontal plane.
Can somebody please tell me, how to use this function to achieve this?

Thanks

Last edited by Fenriswolf; 09/20/07 12:57.