[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
You can control precisely the look of the image produced by 3Delight by associating shaders with elements of your scene. There are many types of shaders; each one is used to control a particular aspect:
surface
shaders control the way an object reflects light;
displacement
shaders modify the geometry of underlying surfaces;
lightsource
shaders control how a luminaire emits light in the scene;
atmosphere
shaders are used to create atmospherical effects, such as fog and smoke;
imager
shaders are applied on the computed image and can perform simple image processing tasks.
Shaders can be bought from third parties or found on various web sites. You can also write your own shaders, see section 6.1 Writing Shaders for more information. If you wish to write your own shaders then The RenderMan Interface Version 3.2 is a good document to read. Is is available electronically at https://renderman.pixar.com/products/rispec/index.htm.
The next sections explains how to write your own shaders, how to use specific features of the 3Delight shading language and how to install your shaders properly, so that 3Delight will be able to find them.
6.1 Writing Shaders 6.2 Installing Shaders 6.3 Interrogating Shaders