Ssct

class Ssct

Screen Space Cone Tracing options for ambient shadows.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Maximum distance for contact. Default: 1.0.

Link copied to clipboard

Depth bias in world units to mitigate self shadowing. Default: 0.01.

Link copied to clipboard

Depth slope bias to mitigate self shadowing. Default: 0.01.

Link copied to clipboard

Enable or disable SSCT. Default: false.

Link copied to clipboard

Intensity of SSCT effect. Default: 0.8.

Link copied to clipboard

Full cone angle in radians, between 0 and pi/2. Default: 1.0.

Link copied to clipboard

Light direction vector. Default: (0, -1, 0).

Link copied to clipboard

Number of rays to trace, between 1 and 255. Default: 1.

Link copied to clipboard

Tracing sample count, between 1 and 255. Default: 4.

Link copied to clipboard

How far shadows can be cast. Default: 0.3.