Raytracing involves calculating how light rays are reflected, refracted, and obstructed. It gives very realistic results, but it can be a time-consuming process. The more lights used to generate shadows, the longer the scene takes to render.
Select a light and choose Modify Shader from the Render toolbar.
In the light shader's property editor (soft_light by default), select Shadows Enabled.
Set the Umbra value with its slider.
This defines a transparency factor on the umbra (main) area of the shadow (default 0.75). It controls how the shadow blends with the material on which it is cast to create a more realistic shadow.
Before rendering, choose Render Renderer Options from the Render toolbar to open the mental ray Render Options Property Editor for the current render pass.
On the Raytraced tab, choose a rendering method for the Raytraced Type.
Select the objects whose shadows you want to cast and display their Visibility property editor. Click the Rendering tab and make sure that both Shadow Caster and Receiver options are enabled. For more information, see Shadow Casters and Receivers.
To view raytraced shadows in a render region, draw a region (press Q), choose Render Regions Active Viewport Options and select Use Current Pass Options.
You can tweak the softness of raytraced shadows for the lights in your scene without having to use shadow maps or the more expensive area light shadows.
The default Soft Light shader allows you to set Softness and Samples parameters that apply a quality blur to raytraced shadow edges. See Raytraced Soft Shadows [Shader Reference].
Alternatively, you can connect the Physical Sun (mia) shader to your lights and use the Shadow Softness and Samples parameters to blur the shadow edges.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License