Description: 2. Physics Shaders *
Keywords: main

2. Physics Shaders/TITLE>
Next: 2.1 Lens Shader: physical_lens_dof Up: No Title Previous: 1.12 Light Mapping

# 2. Physics Shaders/A>

This shader library provides a collection of shaders that implement caustics, global illumination and other functions that support physical correctness.

Before any shader in the physics shader library can be used, it must be attached to the mental ray rendering software using a statement `link "physics.so"`, and the shaders must be declared with the statement `$include <physics.mi>`. Declarations are given in mi format, as described in chapter on page . Here is the summary:

group | shader | page
Lens | physical_lens_dof |
Light | physical_light |
Material | dgs_material |
| dielectric_material |
Photon | dgs_material_photon |
| dielectric_material_photon |
Participating Media | parti_volume |
| transmat |
| parti_volume_photon |
| transmat_photon |

- 2.1 Lens Shader: physical_lens_dof
- 2.2 Light Shader: physical_light
- 2.3 Materials
- 2.4 Photon Tracing
- 2.5 Participating Media
- 2.6 Photon Tracing in Participating Media