Hi community!
I was trying to import a primitive attribute into a shader VOP network. However, I realized I have to specify the prim number (using the prim attribute node). Is there a way to get the current primitive number in a shaded surface context? I noticed that the only Id variable available in my globals is the Sample ID. Is that the same as the prim ID?
Thanks in advance!
Importing attributes in VOP shader context
6253 4 2- grayOlorin
- Member
- 1799 posts
- Joined: Oct. 2010
- Offline
- Erik_JE
- Member
- 299 posts
- Joined: Jan. 2010
- Offline
- grayOlorin
- Member
- 1799 posts
- Joined: Oct. 2010
- Offline
- Erik_JE
- Member
- 299 posts
- Joined: Jan. 2010
- Offline
- grayOlorin
- Member
- 1799 posts
- Joined: Oct. 2010
- Offline
-
- Quick Links