Skip to content

centerDepthSmooth

uniform float centerDepthSmooth;

This uniform stores the value in the depth buffer depthtex0 at the center of the screen, smoothed over time. The speed of the smoothing can be controlled with centerDepthHalflife.