visibility property

double visibility
getter/setter pair

Strength of the depth-moment visibility test, 0 disabling it (pure trilinear, smoother but leaks through thin walls) and 1 applying it fully. Also see visibilityBias.

Setting this to 0 compiles the receiver's depth fetches out, halving its texture work.

Implementation

double visibility = 0.7;