Jump to content

VEX box clip


gotfroi

Recommended Posts

I want to separate foreground and background elements in a particle system using a box clip vop in my shader but I can't find proper examples on how to do this. I suppose I have to add a parameter VOP for FG and BG, and source that into image planes but how the box clip figures into that is beyond me, and the documentation is not helping. Even some indication of how to hook up Point 1 and Point 2 inputs would help.

Any hints appreciated

Link to comment
Share on other sites

Interesting. I ended up defining groups with bounding boxes and assigning them to attributes that I sourced in the shader and output to image planes. I like your solution better. Can anyone tell me when the box clip VOP would be useful?

Edited by gotfroi
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...