View Full Version : I need caustic effect + transparency shadow

07 July 2011, 02:46 AM

I use Maya 2011 and Mental Ray.

I assign a mia_material_x_pass to a object and try casting transparency shadow for it and everyting
is OK .

But when I try to cast caustic effect for object (Refractive Caustic parameter is select in mia_material) with caustic effect it's casted a opaque shadow.

I need caustic effect + transparency shadow

What do I do.

Please Help Me.

07 July 2011, 03:22 AM
Caustics are a simulation of how light bends, refractions and focuses through or off a material. The shadows aren't going to look the same because the light is being bent and focused by the object like it would in a lens, so naturally you wouldn't get this perfect shadow gradient you see in the first image. What you are seeing in the second image is more realistic, although still a bit wrong since your shadows likely aren't set to Segments.

Render Settings> Quality > Shadows > Shadow Method > Segments

07 July 2011, 03:59 AM
Thanks Kakkoii very appreciate.

But are you can tell me what is wrong . because it is in "Segment" mode.

07 July 2011, 05:09 AM
There's nothing to fix really. The object is behaving properly, it's conserving energy. Since the light going in is being focused into a smaller area, the other parts around it will be receiving less light, and thus will become darker shadowed areas.

You shouldn't be using a Spot light though, because it's casting light from an infinitely small point in space, which will give you unrealistic looking rendering. Change the spot light to an area light, or use a mental ray light surface shader on a piece of geometry to cast the light.

Plus the fact you have no other light sources in the scene makes the effect look even more unnatural.

Find a glass object in your house, preferably with color, if you have one. Bring it into a pitch black room like the bathroom with a small flash light and simulate your scene. You'll see that the light behaves in a similar way.

Examples: (Not my renders, from the net)

And a photo:

07 July 2011, 05:44 AM
Thank you for your advice Kakkoii . its perfect very appreciate.

CGTalk Moderation
07 July 2011, 05:44 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.