#

threejs

Three.js 3D graphics library for WebGL

WebThree.js Stencil Masking Multiple Clipping Planes Fix

Fix extraneous fragments in Three.js stencil masking for multiple clipping planes. Configure maskMaterial with BackSide, AlwaysStencilFunc, ReplaceStencilOp and planeMaterial with FrontSide, EqualStencilFunc, correct renderOrder for clean caps without leaks.

1 answer 1 view