Draw Call & Pass CounterWireframe pass view · scale-texture.glb (A) · 1 main + 1 shadow submission

GLB Draw Call Estimator — Per-Pass Primitive Submission Audit

Estimate CPU-to-GPU draw call submission cost across visible glTF scene nodes and mesh primitives with explicit main-pass and shadow-pass assumptions.

Drop a 3D model to explore & inspect it

GLB, glTF, STL, or 3MF · up to 100 MB · stays on your device

Have a multi-file .gltf? Select or drop its .bin and textures together.

Or explore an instant 3D sample
Verified Sample · CC0-1.0Sample file: scale-texture.glb (2.3 KB)

Verified Sample Result & Instant Demo

Try Sample File in 1 Click

How many estimated render submissions does scale-texture.glb generate? With 1 mesh-bearing scene node containing 1 primitive, it requires 1 main-pass submission and 2 total submissions when a single directional shadow cascade is active.

Est. Main-Pass Submissions
1submissions
Est. Shadow-Pass Submissions
1submissions
Est. Two-Pass Total
2submissions
Mesh-Bearing Nodes
1nodes
Cryptographic SHA-256 & Engine Provenance
Sample Input File
scale-texture.glb · 2392 bytes · CC0-1.0
Browser Codec Engine
gltf-validator 2.0.0-dev.3.10
Input SHA-256 Digest
26389145620bf15e530492643521f7ed613c451a3160b5ef23ef4ae39b1b36b8
Engine Artifact SHA-256
b73a7b2d455ac217567725138b46d826a13d7d1bb0c88c15f7c571bfb349298c
Reference Verification
Three.js WebGL2 Scene Graph 0.187.0
Schema & Preset ID
glb.glbvieweronline.glb-draw-calls.v1 · glb-pass-submissions · proj-glb-draw-submissions

Diagnosing Multi-Material Primitive Splits That Bottleneck WebGL2 Frame Rates

How glTF Mesh Primitives Translate Into WebGL2 Draw Submissions

In glTF 2.0, a single logical <mesh> is not guaranteed to render in one GPU draw call. Whenever an artist assigns multiple materials to different polygon groups on one object in Blender or 3ds Max, the exporter splits that mesh into separate entries inside mesh.primitives[], each bound to its own material index and index accessor. When dozens of scene nodes instantiate multi-primitive meshes without EXT_mesh_gpu_instancing or texture atlasing, CPU driver validation overhead spikes even on low-polygon scenes.

Because observed draw calls in a live game engine depend on camera frustum culling, occlusion queries, shadow cascade counts, and static batching, reporting a bare number without context is misleading. Our estimator traverses every mesh-bearing node in the active scene, sums primitive submissions per render pass, and documents the exact pass assumptions alongside wireframe inspection.

  • Separates primary forward/deferred pass submissions from optional directional shadow-pass cost.
  • Defaults the 3D stage to wireframe mode so dense sub-mesh splits and hidden interior geometry are visible.
  • Identifies high-primitive-count meshes suitable for material atlas consolidation.

Keeping Real-Time WebXR and E-Commerce Assets Within Submission Budgets

For standalone mobile VR headsets and embedded product viewers, keeping individual hero props under 5 to 15 main-pass primitive submissions prevents main-thread WebGL uniform binding stalls during 72 Hz or 90 Hz rendering.

Common Questions & Answers

Why are draw calls reported as "estimated submissions" instead of exact GPU calls?

Runtime engines may merge static meshes, cull off-screen nodes, or render multiple shadow cascades; counting scene-node primitives per pass gives a deterministic structural baseline with stated assumptions.

Does toggling the shadow-pass assumption change the reported total?

Yes. Enabling directional shadow-pass modeling doubles opaque primitive submissions to reflect a single shadow-map pass plus the main color pass.

How do I reduce primitive submissions on a GLB with many materials?

Bake distinct material slots into a shared PBR texture atlas so the exporter emits one unified primitive per mesh.

100% Private In-Browser Processing

Verified local execution

  • Zero Cloud Uploads

    Your files stay on this device and are never sent to any remote server.

  • Instant Local Speed

    Runs directly on your device up to 100 MB with no upload queue.

  • No Account Needed

    Open a file, inspect your preview, and download immediately without signing up.

View Security Architecture
Execution Sandbox
Dedicated Web Worker
Post-Init Network
Locked (0 Egress)
Max File Budget
100 MB
Cross-Origin Isolation
Single-Thread WASM

After local WebAssembly initialization, Worker network APIs (fetch, XMLHttpRequest, WebSocket) are locked to prevent outbound data egress.