specularAntiAliasingVariance property

double specularAntiAliasingVariance
getter/setter pair

Strength of geometric specular antialiasing.

A normal map or high-curvature surface carries more normal detail than a pixel can resolve, which the specular highlight turns into shimmer as the camera or surface moves. This estimates that sub-pixel normal variation from screen-space derivatives and widens the effective roughness to suppress it (Kaplanyan/Tokuyoshi). 0 disables the effect; the default (0.15) matches the common recommendation.

Implementation

double specularAntiAliasingVariance = 0.15;