Jump to content

diffuce light


csp

Recommended Posts

Hi

As you know the direct_diffuce image plane gives you lighting, color and shadows, I am trying to split them to three different passes. The color and shadows are easy to get but I cant get the diffuce lighting without the shadows. Even the simple lambert model gives you both lighting and shadows.

I know that I can get it using another take with disabled shadows to every light, but I want to have all the passes in on file (exr.), is that possible?

Houdini by default gives you direct_diffuce without shadows but has also the base color.

In the following tutorial

Geneome has achieved it by writing code inside the shader but it also uses the global variable L (direction from surface to light) which does not exist in Houdini 11 global variables.

cheers

Link to comment
Share on other sites

If you put down an illuminance loop you can get that variable, per light.

hello Macha, thanks for your reply. It works great with this variable based on the tutorial but it only works with PBR which is my main render engine either way, but why is that? If I will change to micropolygons, it will break the rest of the shader as well.

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.

Guest
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...