Hi !
For a shader i'm writing, i need to retrieve the id of the particle being shaded.
I'm using VRayContext.faceIndex for points and spheres but it doesn't work for sprites (the function seems to return the face index of the sprite itself)
Is there another function i shoud use in this case ?
Thanks in advance !
For a shader i'm writing, i need to retrieve the id of the particle being shaded.
I'm using VRayContext.faceIndex for points and spheres but it doesn't work for sprites (the function seems to return the face index of the sprite itself)
Is there another function i shoud use in this case ?
Thanks in advance !
Comment