THREE.JS GEOMETRY · CUSTOM WEBGPU RASTERIZER

Bitmask Raster Test

Return to forest

Compiling WebGPU test…

Preparing test buffers…

GPU correctness: not checked

What this test does

Triangles mark coverage with 32-bit atomic OR. Each pixel then selects a winner and writes separate depth and triangle-ID textures. Four masks allow 128 candidates per 8×8 tile. Magenta tiles overflow and use a slower exhaustive fallback; geometry is not discarded.

“Check GPU result” pauses motion and compares this frame with an exhaustive GPU reference. Green means matching pixels; red means a failure. Drag or change the scene to invalidate the check.

This is a controlled rasterization test, not the forest renderer or a streaming system. FPS includes all test passes at the stated internal resolution and is not a forest performance comparison.

Read the specification