logarithmicDepthBuffer

logarithmicDepthBuffer: boolean | undefined

If the view frustum is sufficiently large, and the EXT_frag_depth WebGL extension is available, use a logarithmic depth buffer to improve depth buffer resolution. Framerate may degrade to an extent while the logarithmic depth buffer is in use. If this option is disabled, or the extension is not supported, the near and far planes of very large view frustums will instead be moved to reduce the draw distance.

Default value: true

Defined in

Last Updated: 14 November, 2024