[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Tracing shadow rays can be used as an alternative to shadow maps. This has the advantage of being simple to use, but it can be slow compared to shadow maps, especially with complex scenes. To enable tracing of shadow rays for a luminaire, use this directive in the RIB file (before the LightSource
directive):
|
Attribute "visiblity" "transmission"
. Refer to section 4.2 Attributes.
Also, the shadow()
shadeop has a support for ray-traced shadows: by passing "!" or "shadow" as a prameter instead of a shadow map name, a shadow ray will be traced!