Shadows

The shadows that appear in a scene are affected by a combination of the layout of objects, the shape of the objects, the materials of the objects, and the lighting. In Blender, the Display Mode (Single Texture, Multitexture, or GLSL) also affects the appearance of shadows. See Shadows for a more complete description of this subject.

Tip

Shadows in 3D mode

To see shadows in 3D (textured) mode, you must have switched to GLSL mode before making any materials. In MultiTexture mode, shadows only appear in the rendered image: none of these can be seen in the preview image.

../../../../_images/render_blender-render_materials_properties_shadows_panel.png

Shadow Panel.

The Shadow panel in the Materials Properties editor (see Fig. Shadow Panel.) controls the effects that the material can have on the shadows that appear in the scene. The various properties are described in the sections below.

../../../../_images/materials_properties_shadow2.png

Scene with all shadow properties off.

Options

The following properties can be set for each individual material with which objects in the scene are shaded. The effects are illustrated with rendered images for a simple scene (Fig. Scene with all shadow properties off.) consisting of two “posts”, one with a red (totally non-transparent) material; one green (partially transparent) material, set up on a light blue plane to receive the shadows. The illustrations were all taken in Blender Render engine, with Multitexture mode.

Shadow Receiving Object Material

The following options affect the material that receives shadows:

Receive
Allows this material to receive full-intensity shadows (Fig. Plane with Receive.).
Receive Transparent
Allows this material to receive shadows whose intensity is modified by the transparency and color of the shadow-casting object (Fig. Plane with Receive and Receive Transparency.).
../../../../_images/materials_properties_shadow3.png

Plane with Receive.

../../../../_images/materials_properties_shadow4.png

Plane with Receive and Receive Transparency.

Shadow Casting Object Material

The following options affect the material that casts shadows:

Cast Only
Causes objects with the material to only cast a shadow, and not appear in renders. (Fig. Posts with Cast Only.).
Casting Alpha
Sets the Alpha of shadow casting. Used for irregular and deep shadow buffering.
Shadows Only

Renders shadows as materials alpha value, making materials transparent, except for areas where it receives shadows from other objects, and also it retains its own transparency (Fig. Posts with Shadows Only.). Note the faint image of the partly-transparent post.

Shadow Only Type

Set the type of shadows used when Shadows Only is enabled.

  • Shadow and Distance
  • Shadow Only
  • Shadows and Shading
../../../../_images/materials_properties_shadow5.png

Posts with Cast Only.

../../../../_images/materials_properties_shadow6.png

Posts with Shadows Only.

Buffered Shadow Options

In addition to the shadow options described above, there are further material properties which control buffered shadow features. See section on Spot Buffered Shadows for further discussion of these techniques.

Cast Buffer Shadow
Casts shadows from shadow buffer lamps.
Buffer Bias
Multiplication factor for Buffer shadows (0 = ignore).
Auto Ray Bias
Prevent raytraced shadow errors on surfaces with smooth shaded normals.
Ray Bias
Shadow raytracing bias value to prevent terminator artifacts on shadow boundary.
Cast Approximate
Allow this material to cast shadows when using approximate ambient occlusion.