Jump to content

PRMAN Deep shadows

Recommended Posts

I'm still learning how to use PRMAN with Houdini. So today I tried to find how to make a light setup (light shader, shadow shader etc) I just feel really confused on how to get a simple spotlight with deep shadows... I would appreciate a simple hip file or a simple explanation of the steps needed to do this.

Link to comment
Share on other sites

The default lights in Houdini will produce deep shadows in prman if you use depth map shadows and change the shadow to $HIP/$OS.dshad. The only problem with this is the controls available may not be enough for you.

In that case you'll need to generate a deep shadow map using the prman ROP. The basic idea here is to render your scene looking through your shadow casting light. You set the ROP to render the Z channel using the zfile driver, and an Ri AOV with the deepshad driver.

There are a lot of rules regarding shadow map generation that I didn't get into. I'd recommend reading the prman docs. App note #15 and the section on display drivers should cover it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...