how could I import Cd attributes into shop net ?
717 1 0- Asche915
- Member
- 31 posts
- Joined: 2月 2011
- Offline
- twelveplusplus
- Member
- 194 posts
- Joined: 8月 2011
- Offline
Image Not Found
hey, it's really easy to do, but maybe not obvious if nobody told you before!
in your VOP you gotta use a "bind" node. This node lets you bind attributes from your sop level into the material you are building for it.
So, in this case, tab "bind", and change the "Name" to Cd, and change it to 3 Floats (Vector), and then you can use it just like you would expect. So, for what i think you were trying to do, just plug the vector from your Bind into your basecolor, and you're good.
(Cf is not the same thing as Cd, as you have noticed)
Pretty sure the "Cd_bound" value is a boolean, so you can check to see if Cd was correctly bound or not. If it didn't work for some reason, you can set up a default value, whatever you want. (i haven't tried it, but i'm 99% sure that's what it's for)
Have fun!
~Maitland
-
- Quick Links