Internal
Sets up all the needed stencil logic needed for the depth pre-pass.
Mesh created by createDepthPrePassMesh.
createDepthPrePassMesh
Original mesh.
This logic is in place to avoid z-fighting artifacts that can appear in geometries that have coplanar triangles inside the same mesh.
Generated using TypeDoc
Sets up all the needed stencil logic needed for the depth pre-pass.