Jump to content

Attribute Control Of Shaders / Vops


Recommended Posts

I have figured out how to get simple things like color and alpha primitive attributes to control a shader, since (most?) shaders will respect the Cd and Ca attributes and pipe them to the correct location. However, I would like to have either a custom attribute (or alpha) control which texture from a imagesequence to use. I am looking at the print VOP as perhaps a way to change out the map input of a texture VOP, but is there an easier way that I am missing? I also can't seem to get an expression to work in that VOP, so no padded zeros on the sequence?(not a big deal)

My use is different, but this would be part of a system for rendering dynamically animated sprites.

Is there any way for a VOP network to react to anything other than the attributes made available in the globals VOP?

I am also a bit confused about attribute names and the varios local attribute name acces. Is there a map or a secret understanding that I do not get? e.g. $ALPHA is Alpha is $CA

Thanks

MD

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...