WaterCausticsSampleCount Property |
Namespace: DigitalRune.Graphics
Important: Currently, the WaterRenderer renders caustics only for WaterNodes with WaterWaves.
Caustics are computed by sampling the water normal map of WaterWaves. The shader takes N x N samples where N is CausticsSampleCount. CausticsSampleOffset defines the distance between samples in world space units. CausticsDistortion defines how much the normal maps influence the caustics computation. CausticsPower defines the sharpness of the caustics; very similar to the specular power/exponent of Phong shading. CausticsIntensity defines max brightness of the caustics.