Igor Sklyar

shader writer
pipeline TD

h_LightPro

Lightpro
h_LightPro is universal light shader for general lighting purposes. Shader was designed in rsl-2.0 shading style and supports different lighting methods for direct lighting: Spot, Point, Distant, Area. And also for indirect lighting: Indirect, Environment (for environment reflections and refractions).

It supports both methods of shadow calculation Shadow Maps and Ray-trace and also allows combining this methods in one shader increasing a speed of shadow calculation of such objects as fur It doesn't yet support new renderman shadeop "areashadow" but it's plaining to implement it.
Ui_spot
1
4_spto
2
Ui_shadows
3
Ui_area
4
5
6

Light shader also has indirect method for calculating point based global illumination, reusing existing color bleeding cache and sourcing caustic map cache. It allows controlling mixing of occlusion, indirect and environment illumination to final image.
Cc
Cc2
Cb1
Cb2
Cb3
01 Jul 2012