Jump to content

translucent ray-trace shadows on opaque objs


Recommended Posts

hi,

I was wondering if it is possible to make direct light ray-trace self shadows decay after each pass through surface while surface is completely opaque.

I have done it with depth maps by setting my obj's opacity to .5 pre-rendering shadow map and using that map on the same object with opacity value 1.

Could anybody suggest how it could be done with ray-traced shadows? Examples would be totally awesome :)

Thanks!

Link to comment
Share on other sites

I have done it with depth maps by setting my obj's opacity to .5 pre-rendering shadow map and using that map on the same object with opacity value 1.

not quite sure what the purpose of this is, but here's how you would achieve this gag using raytrace shadows

its pretty chill

post-4364-12937719333_thumb.jpg

  • Like 1
Link to comment
Share on other sites

not quite sure what the purpose of this is, but here's how you would achieve this gag using raytrace shadows

its pretty chill

post-4364-12937719333_thumb.jpg

total awesomeness :)

thanks Brian.

well for example I am using it to fake SSS on tree leaves. I took care of the color and now shadow is also decaying with each pass through a leaf...

but taking this further in therms of efficiency I was thinking how to limit this effect to a certain penetration level since opacity approach slows down ray-tracer a lot. Lets say switching opacity to 1 after 5th pass.

or getting the same effect without modifying opacity I am not sure if its possible but maybe by multiplying shadow intensity with each pass...? or I am just talking about the same thing since shadow ray still have to travel further after hitting opaque surface?

Edited by PhasmaCeritus
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...