Volume Rendering
Shading Volumetric Data
- Density gradient is normal to surface, dot with light
- Can be done on host
- Convert data: find gradient, dot with light direction
- Redo when light or object changes orientation
- Use OpenGL pixel path
- Convert data on host, find gradient (or bump map!)
- color_matrix extension to compute N • L