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
7034 4 2-
- grayOlorin
- Member
- 1814 posts
- Joined: 10月 2010
- オフライン
-
- Erik_JE
- Member
- 300 posts
- Joined: 1月 2010
- オフライン
-
- grayOlorin
- Member
- 1814 posts
- Joined: 10月 2010
- オフライン
-
- Erik_JE
- Member
- 300 posts
- Joined: 1月 2010
- オフライン
-
- grayOlorin
- Member
- 1814 posts
- Joined: 10月 2010
- オフライン
-
- Quick Links

