Occlusion VOP help

   2147   2   0
User Avatar
Member
246 posts
Joined: 7月 2005
Offline
Hey all,

It's been awhile so apologies for what's probably a very simple question. I'm looking to modulate the surface color in an existing shader by the result of the Occlusion VOP, but the Occlusion VOP returns a vector so I can't simply feed it's result into the bias input in a Mix VOP (expects a float). ideas?

stu
User Avatar
Member
379 posts
Joined: 12月 2006
Offline
Vector to Float or Get Vector Component.
User Avatar
Member
246 posts
Joined: 7月 2005
Offline
Thank you, much appreciated! I found that the dirtmask VOP was useful here as well as it did pretty much what I was looking for and output a float by default.

Thanks again!
  • Quick Links