csp Posted February 6, 2012 Share Posted February 6, 2012 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 Quote Link to comment Share on other sites More sharing options...
Macha Posted February 6, 2012 Share Posted February 6, 2012 If you put down an illuminance loop you can get that variable, per light. Quote Link to comment Share on other sites More sharing options...
csp Posted February 6, 2012 Author Share Posted February 6, 2012 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. Quote Link to comment Share on other sites More sharing options...
Green-Man Posted February 7, 2012 Share Posted February 7, 2012 Maybe Shadow Matte VEX node will help you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.