⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Material.DepthClamp

bool DepthClamp{ get set }

Description

Should depth values be clamped to the near/far planes instead of being clipped? This defaults to false, meaning depth clipping is enabled. Setting this to true can be useful for shadow map rendering, where near/far clip planes are really critical, and out of clip objects are still useful to have.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!