Jump to content

Casting Shadows Using The Smoke Vop


Recommended Posts

Hi list.

I want to cast shadows from a smoke simulations tha uses spheres to render the particles and a shader based on the smoke VOP to generate the smoke look.

The only problem is that when i try to cast shadows i only get totally opaque shadows, i have tried with all the shadows types and i get always the same result, i am not able to get shadows only where the spheres has smoke, instead the shadows is gettting the whole spheres.

The material only have a smoke VOP with his color, opacity and normal wired to the output VOP.

Why i can get transparent shadows, filtered shadows and specially deep shadow maps to work with a smoke like material?

Thanks

Link to comment
Share on other sites

Hi list.

I want to cast shadows from a smoke simulations tha uses spheres to render the particles and a shader based on the smoke VOP to generate the smoke look.

The only problem is that when i try to cast shadows i only get totally opaque  shadows, i have tried with all the shadows types and i get always the same result, i am not able to get shadows only where the spheres has smoke, instead the shadows is gettting the whole spheres.

The material only have a smoke VOP with his color, opacity and normal wired to the output VOP.

Why i can get transparent shadows, filtered shadows and specially deep shadow maps to work with a smoke like material?

Thanks

22129[/snapback]

The smoke VOP should not be used. :angry:

If you look in the sub-network, you'll see that the opacity is dependent on the output of the lighting VOP. In general this is bad practice since to compute the opacity, you'd have to compute lighting. And when you're doing shadow casting, you don't want to be computing illumination.

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