PBR Material & Roughness ViewRoughness isolation · scale-texture.glb (A) · metallic 0.1, roughness 0.8

GLB Material Inspector — PBR Factors, Roughness & Channel Audit

Inspect glTF 2.0 pbrMetallicRoughness scalar factors, alpha modes, double-sided flags, texture slot bindings, and missing material dependencies with WebGL2 roughness isolation.

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 is AuditPbrMaterial configured inside scale-texture.glb? It declares OPAQUE alphaMode, metallicFactor 0.1, roughnessFactor 0.8, 2 bound channels (baseColorTexture, metallicRoughnessTexture), and 1 missing dependency (rough.png).

PBR Metallic Factor
0.1scalar
PBR Roughness Factor
0.8scalar
Bound Texture Channels
2channels
Missing Material Inputs
1dependencies
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 MeshStandardMaterial 0.187.0
Schema & Preset ID
glb.glbvieweronline.glb-material-inspector.v1 · glb-isolate-roughness · proj-glb-pbr-roughness

Debugging glTF 2.0 Metallic-Roughness Packing and Alpha-Blend Sorting Defects

How glTF Packs Occlusion, Roughness, and Metallic Into Linear RGB Channels

The core Khronos glTF 2.0 material model uses physically based metallic-roughness shading with strict channel assignments: baseColorTexture is sampled in sRGB transfer space (multiplied by RGBA baseColorFactor), whereas metallicRoughnessTexture stores linear perceptual roughness in the Green channel and metalness in the Blue channel—often sharing the Red channel with ambient occlusion (ORM packing). Connecting a standalone grayscale roughness PNG without proper channel packing or leaving metallicFactor at its default 1.0 turns dielectric plastic and wood surfaces into dark chrome mirrors.

Equally critical is alphaMode selection. Exporting opaque foliage or decals as BLEND instead of MASK (with an explicit alphaCutoff) disables depth-buffer writes in WebGL2 forward renderers, causing severe back-to-front sorting flicker. This inspector tabulates every scalar factor, alpha mode, doubleSided state, and missing dependency while isolating roughness response in the 3D stage.

  • Defaults the WebGL2 viewport to Roughness Channel mode so scalar roughness luminance is immediately visible.
  • Lists baseColorFactor, metallicFactor, roughnessFactor, alphaMode, and doubleSided per material.
  • Cross-references broken image URIs directly onto the affected PBR material definition.

Auditing AuditPbrMaterial on scale-texture.glb

In scale-texture.glb, AuditPbrMaterial sets metallicFactor = 0.1 and roughnessFactor = 0.8, resolves baseColorTexture from bufferView 4, and flags metallicRoughnessTexture -> rough.png as an unresolved external dependency.

Common Questions & Answers

Which color channels hold roughness and metallic values in glTF 2.0?

Per the glTF 2.0 specification, metallicRoughnessTexture encodes roughness in the Green (G) channel and metalness in the Blue (B) channel in linear color space.

What happens if a material omits metallicFactor or roughnessFactor in JSON?

Khronos defaults both metallicFactor and roughnessFactor to 1.0 when omitted, which makes untextured materials appear fully metallic and rough unless explicitly set.

Why should cutout decals prefer alphaMode MASK over BLEND?

MASK writes cleanly to the WebGL depth buffer and avoids transparent draw-order sorting artifacts across overlapping surfaces.

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.