Geometry / Depth Pre-Pass
Opaque vertex transform & early-Z occlusion culling
Transforms 142 instanced mesh batches into clip space and populates the hi-Z buffer so occluded fragments never enter heavy shading.
SPATIAL GPU PROFILER · WEBGL2 / WEBGPU
Inspect draw calls, G-buffer packing, cascaded shadows, and post-FX passes along the optical Z-axis in real time before a frame leaves your GPU.
02 // Z-AXIS PIPELINE DISSECTION
As you scroll, the composite frame unstacks along Z into its five constituent GPU passes. Drag to orbit the stack or select any slab to isolate its cost.
Opaque vertex transform & early-Z occlusion culling
Transforms 142 instanced mesh batches into clip space and populates the hi-Z buffer so occluded fragments never enter heavy shading.
Octahedral normal & perceptual roughness packing
Packs world-space surface normals, roughness, and specular F0 into two RGBA16F render targets for deferred lighting evaluation.
3-split directional PCF shadow atlas (2048px)
Renders dynamic casters into a 3-cascade shadow atlas and evaluates 9-tap Poisson PCF filtering across contact edges.
5-mip HDR luminance threshold & energy-conserving blur
Extracts specular highlights above 1.0 EV through a 5-mip Dual Kawase downsample pyramid before additive screen recombination.
Filmic tone mapping, blue-noise dither & sRGB encode
Applies ACES fitted filmic curve, eliminates 8-bit sky banding via screen-space blue-noise dithering, and writes the final swapchain frame.
03 // FRAME BUDGET & BOTTLENECK LAB
Toggle individual render stages, sweep render-target resolution scale, and inspect the exact GLSL kernel driving frame-time pressure.
11.1 ms
vec4 clipPos = uViewProj * uModel * vec4(aPosition, 1.0);
vLinearDepth = -(uView * uModel * vec4(aPosition, 1.0)).z;
gl_Position = clipPos;04 // ARCHITECTURE & INSTRUMENTATION
Attach a single 4 KB hook around your requestAnimationFrame loop with zero shader recompiles.
Unstack render targets along Z to inspect intermediate G-buffers, shadow cascades, and mip chains.
Pin any bottleneck pass to view pixel-scale sensitivity, overdraw hotspots, and VRAM residency.
Lock target budgets at 60 Hz or 120 Hz and export a deterministic snapshot for code review.
Timer queries batch asynchronously through non-blocking GPU timestamp rings so profiling never stalls the main render thread.
Capture serialized pass graphs, uniform buffers, and viewport scales into portable briefs you can diff across commits.
Inspect GLSL 300 es and WGSL render pipelines through one unified optical coordinate system and shader kernel view.
05 // SDK BRIEF & WORKSPACE ACCESS
Built from a free landing page template on openlanding.page.