Const InternalRender highlighted silhouettes. Used to accentuate objects that are highlighted.
Skipped - suppress rendering. Objects with this pass are not rendered.
Render opaque objects in their normal colors.
Picking pass. Used for object picking to determine which object is under the cursor or selected.
Render selected silhouettes. Used to accentuate objects that are selected.
Snap pass — rasterises vertices (as 1-pixel points) or edges (as 1-pixel lines) into the same FBO populated by RENDER_PASSES.SNAP_INIT, but only where they pass the depth test. The fragment shader writes the high-precision view-space position so JS can read back and pick the nearest snap target to the cursor.
Snap-init pass — populates the snap framebuffer's depth and view-position outputs from triangle surfaces. Sets up the scene under a small viewport centred on the cursor so the subsequent RENDER_PASSES.SNAP pass can z-test vertex / edge primitives against real geometry.
Render transparent objects in their normal colors
Render x-rayed silhouettes. Used to render objects with an x-ray effect.
Defines the rendering passes used by the
WebGLRenderer.Each rendering pass represents a specific stage or mode in the rendering pipeline. These passes are used to control how objects are rendered, including color, transparency, silhouette effects, and picking.