Karma - Turn Off Self Shadowing On Particular Objects

   2648   4   1
User Avatar
Member
78 posts
Joined: June 2019
Offline
I have a large, noisy shaped ground plane that includes lumps, walls etc. all in one combined mesh.

I'd like to receive shadows on this object, but not cast or catch shadows from itself. Is this possible with light path expressions, or render geometry settings?
User Avatar
Member
1737 posts
Joined: May 2006
Online
Setting its render visibility to primary will mean it won't cast shadows, but will still receive shadows.

Attachments:
primary_vis.PNG (24.4 KB)
primary_vis_viewport.PNG (333.2 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
72 posts
Joined: July 2006
Offline
Or -shadow also works if you want it visible in indirect See render visibility here: https://www.sidefx.com/docs/houdini/props/karma.html [www.sidefx.com]
Edited by protean - June 21, 2023 07:55:15
john @ hydrastudios
User Avatar
Member
78 posts
Joined: June 2019
Offline
mestela
Setting its render visibility to primary will mean it won't cast shadows, but will still receive shadows.

Right! So it does. I was getting very mixed up, as I had already tried this, but what I was actually seeing was shadowing from an overall very soft dome light. I assumed this was shadowing coming from the ground object itself.

Thanks for clearing this up for me!

protean
Or -shadow also works if you want it visible in indirect See render visibility here: https://www.sidefx.com/docs/houdini/props/karma.html [www.sidefx.com]

This is also a super handy page of info, not just for the shadow tips. Cheers!
Edited by GlennimusPrime - June 22, 2023 02:30:01
User Avatar
Member
8554 posts
Joined: July 2007
Offline
mestela
Setting its render visibility to primary will mean it won't cast shadows, but will still receive shadows.
that's not the same as turning off self shadowing though, since such object will not cast shadows to any object and will also not appear in any of the secondary rays

protean
Or -shadow also works if you want it visible in indirect
this is closer, but it will still not cast shadows on any other objects

so it would still be handy to be able to turn off self shadowing only, but still cast shadows to other objects and appear in other secondary
or for that matter to be invisible to any specific secondary self hit
I guess what would need tracesets to be able to exclude self
Edited by tamte - June 27, 2023 01:14:00
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links