Excluding primitive groups from shadows

   2166   2   1
User Avatar
Member
48 posts
Joined: Sept. 2016
Offline
Hi everyone,
is there a way to exclude certain groups of an object from casting shadows? Also, I want to know whether I can exclude a specific light from getting reflected on the object.

I have a specific case, my character's eyeball gets shadows from its outer sphere (which is used for highlights), so the eyeball gets very dark. The character is a whole object (alembic) consisting of primitive groups. Now I want to exclude outer sphere not to cast shadow on the eyeball. Also my area light is reflected on the outer sphere, I would also like to exclude the light from reflection.

Thx.
Edited by Emil - Aug. 8, 2017 10:16:33
User Avatar
Member
192 posts
Joined: Nov. 2008
Offline
hi emil. re. the first part of your question, you can disable shadow casting on the shader level. the materials mostly have a fake caustic parameter that allows you to do this off-the-shelf for materials with refractions, but you can also manually do this via the ‘is shadow ray’ vop. here's an example:

Attachments:
eye_bb.hip (482.2 KB)
eye.jpg (172.2 KB)

User Avatar
Member
48 posts
Joined: Sept. 2016
Offline
Thank you very much, Brian Burke.
  • Quick Links