Click or drag to resize
DigitalRuneWaterCausticsPower Property
Gets or sets the sharpness of caustics

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float CausticsPower { get; set; }

Property Value

Type: Single
The sharpness of caustics.
Remarks

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.

See Also