Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (EW_bytes, 1 invisible), 11,430 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
dabolong, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Solved] Slicing Shader #155611
09/20/07 09:33
09/20/07 09:33
Joined: Jan 2007
Posts: 221
F
Fenriswolf Offline OP
Member
Fenriswolf  Offline OP
Member
F

Joined: Jan 2007
Posts: 221
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.
Re: Slicing Shader [Re: Fenriswolf] #155612
09/20/07 12:02
09/20/07 12:02
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Have a look at this thread

Re: Slicing Shader [Re: Slin] #155613
09/20/07 12:56
09/20/07 12:56
Joined: Jan 2007
Posts: 221
F
Fenriswolf Offline OP
Member
Fenriswolf  Offline OP
Member
F

Joined: Jan 2007
Posts: 221
Thank you very much, Slin!
By reading through the code of the demo i was able to get it working.


Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1