The area of each box is its byte size; colour is the asset type (static models and animation are separate, so .nif/.mdl sits apart from .kf/.lip/.egm/.vcd). Click a category or extension to zoom; switch Group by to pack to pivot the same bytes by archive/container. Hover for the path, logical URI and source pack. Load an index produced by scripts/index_game.py to replace the demo with Portal 2, Half-Life 2, Oblivion, Morrowind or Baldur’s Gate.
The tab starts with synthetic Portal 2, Oblivion and Baldur’s Gate II entries. Run python3 scripts/index_game.py /path/to/game --out index.json, then load the JSON here. BSA/VPK/ESP/BIF contents are indexed; payloads are never extracted. Entries carry a logical URI and pack note, not a copy of the asset.
A game never ships the source texture. Choose a runtime resolution and format, add mips, and inspect the pixel damage and memory bill. Channel packing stores roughness/AO/metalness in one ORM map instead of three.
The six faces are laid out as a cross on the right. Draw on any face and the three.js cube updates; drag the cube to rotate it. The labels and grid show how the atlas maps onto the model.
The NanoSuit source ships as one material. The tab re-authors that single mesh as four material slots over its body regions: two slots sample the authored UV0 atlas; two sample a cheap planar UV1 projection. Hover or click a vertex in the model or in the atlas — the same vertex lights up in the other view, so you can follow a texel both ways.
The atlas is painted with each slot's texture through its own UV triangles. Overlapping islands show the same UV space being reused by different textures; UV1 projects the whole model from the front, so the sides stretch and a texel can map to both the front and the back.
A real game model is usually a multi-material mesh: one vertex buffer, several material slots, and one or more UV sets. Each slot can use a different texture and a different UV channel, so the same mesh can mix a tiling suit material with an unwrapped armour atlas and a projected trim. Clicking a material card spotlights its triangles in both views and switches the atlas to the UV space that slot samples.
The same brick wall as actual displaced geometry, a normal map, a bump map and parallax mapping. Rotate the view to the side: only the 3D version changes the silhouette.
PBR is a conversation between light and surface. Drag the four lights in the top-view diagram, tint them, and change exposure/tone mapping: the same clay NanoSuit goes from product shot to neon night.
A rough surface is a field of tiny mirrors. Only facets whose normal matches the half-vector H send light from L to V; roughness controls the slopes and therefore the width of the GGX highlight. Drag the sphere to move the light.
Our perception of brightness is non-linear (Steven's power law). Image data is stored gamma-encoded ($v_{gam} = v_{lin}^{1/\gamma}$) so byte code is used where the eye can see the difference. Mixing, blurring or lighting in that space is wrong — decode to linear light first, do the maths, then re-encode.
Top: a black→white gradient with a 50 % overlay. Averaging encoded values (left) drops dark halos; decoding to linear first (right) is physically correct. Bottom: the checkerboard trick — an encoded 50 % (128) next to a black/white dither.
- Dim the room; keep the screen at your normal brightness.
- Look at the two patches together (squint, or step back).
- Drag the solid patch until it blends with the dither.
- Tick Reveal to read your display's gamma.
- Most displays land near 2.2; a bright room may read higher.
This is a rough estimate, but it makes the point: encoded values are not linear light.
Three stages keep a lit texture honest: decode the sRGB albedo to linear, do the lighting in linear, then encode the result for the display. Switch any stage off and the wall tells you what happens.
Colour is a percept, not a wavelength: lights add, pigments subtract, the surroundings shift what we see, ~8 % of men see it differently, and text needs enough contrast to read.
Two different spectra can match under D65 and diverge under tungsten. Change the light, then turn on adaptation to see colour constancy at work.
The room and the lamp keep the illuminant's colour; your visual system discounts it for the objects. Slide adaptation from 0 (raw camera) to 100 % (what you perceive) and compare the white card with the apple.
Metallic/roughness is the base layer, but real materials add more: clearcoat on car paint, transmission for glass, sheen for velvet, emission for neon. Pick a sphere and edit the properties that matter.
Metallic/roughness stores a base-colour map, a metalness mask and a roughness mask. The shader derives F0 = mix(0.04, base, metal) — so a conductor gets a tinted F0, a dielectric stays at 0.04 white. Paint the maps and the sphere updates.
Specular/glossiness stores diffuse + an explicit F0 (specular) map + glossiness. A conductor has black diffuse and a coloured specular; a dielectric has a small white specular. It is the legacy-friendly workflow, but easier to make physically inconsistent.
The same presets rendered as metallic/roughness and specular/glossiness. Pick a conductor or dielectric; compare the sphere rim (grazing), the textures, and the notes on when each workflow wins or breaks.
Good: one metalness value separates conductors and dielectrics; ORM packs roughness/AO/metalness; the modern default.
Bad: legacy specular maps need conversion; strongly tinted dielectric F0 is awkward.
For this material:
Good: explicit F0 and glossiness; familiar to legacy pipelines; direct control of the highlight.
Bad: easy to violate energy conservation; metalness is implicit (black diffuse); more maps and ambiguity.
For this material:
The left wall is 48.6k triangles of real displacement. The right wall is two triangles. Bake the height field to a normal map and it reads the same from the front — but rotate to the side: the silhouette gives it away.
The normal map is just the height field's slope encoded as RGB. Baking transfers that slope from the dense mesh to the low-poly's UVs; the low-poly gets the shading, not the silhouette.
The same high-poly source is reduced to the same target ratio by three methods. Centroid clustering is cheap and blobby; quadric clustering places each cluster representative to minimise surface error; relaxed evens out the triangles at the cost of sharp corners. Select a model and watch the counts.
Centroid: one representative per spatial cell, averaged. Quadric: representative minimises the sum of squared distances to the incident face planes. Relaxed: quadric followed by one Laplacian neighbour pass. The triangle budget is controlled by the grid resolution derived from the target ratio.
The source is 19k triangles; the chain decimates it to 9.5k / 4.8k / 1.9k. Compare the four side by side, then switch to the distance view: at range the silhouette is what matters.
The source mesh is baked from the uploaded NanoSuit.fbx; the LODs are generated offline with meshoptimizer. At distance the 1.9k-triangle version reads the same as the 19k source.