Rendering
Each part is a guide of its own, read with guides { path = "<path>" }, and a guides { query } finds the part that answers it:
| Path | What it answers |
|---|---|
topics/rendering-lighting | How a scene is lit: scene setups and what they hold (skies, scene lights, post effects, render features), the lighting entity a new world places, making your own; the lighting toolbox (sun, ambient, sky, point and spot lights), how their intensities compare, baked global illumination with lightmaps and light probes, and reading baked light in your own shader. |
topics/rendering-post-process | The post-process chain: post effects as assets a scene setup applies, effects on the scene and display layers, exposure and tone mapping, the chain reaching an offscreen capture, HDR output on an HDR display (native and browser), colour grading with a lookup table, and verifying a post effect by numbers. |
topics/rendering-motion | Motion blur (the camera's shutter), the velocity buffer every temporal technique reads, reading it as numbers, and what the motion_vectors picture encodes. |
topics/rendering-geometry | Morph targets, static geometry drawn as clusters (the cluster level of detail every static mesh draws), relief drawn on a flat face from a height map (parallax occlusion: mortar, bark, grooves without modelling them), and drawing lines, paths and wireframes. |
topics/rendering-reflections | Reflections from the sky, reflection probes and the screen. |
topics/rendering-render-features | Render features: your own GPU passes inserted into the frame (outlines, x-ray, wireframe, decals), and what a pass costs. |
topics/rendering-material-graphs | A material built as a graph of nodes instead of WGSL. |
topics/rendering-capture-passes | Debug camera views a capture selects by name (capture pass=<name>), a pass that is part of the film, and what a pass reads and when it exists. |
topics/rendering-scene-queries | Asking where the drawn world is along a ray, and which object or instanced copy (a forest tree, a scatter item) it hit. |
topics/rendering-settings | The [render] settings in .world_settings (shadows, deferred shading, transparency, culling), texture filtering, frame pacing, the frame-rate cap, the pipeline cache, and what the renderer still owes the picture. |
topics/rendering-shadows | Shadow budgets for point and spot lights, which casters cast and with what geometry, a caster's own shadow view, shadow maps that are not drawn again, and which light spends the budget. |
topics/rendering-draw-cost | What a frame spends on drawing: objects culled before they stop existing, the cost of materials, of a transparent crowd and of a skinned crowd. |
topics/rendering-instance-data | Per-entity shader data: a per-instance property override without a material each, per instance colour every frame with no shader to write (stress colour, heat maps, instanced tint, @builtin::materials.instance_color), a population whose members carry their own shader data, and instanced geometry built in a vertex() hook from those lanes and the vertex index — grass, kelp, hair cards, debris — lit, shadowed and swaying like any engine material. |
topics/rendering-budgets | The device's quality tier, the GPU's memory (VRAM) and memory pressure, the texture streaming budget and the mip levels it evicts, standing in for a smaller GPU (renderer.limitDeviceMemory), textures held coarse (blurry) under pressure, what the render targets cost, and what the engine holds for content and why an asset will not load. |
Finding the rest
lsp.methods("lights") and lsp.methods("postprocess") list those surfaces in full; asset.inspect("@builtin::components.Camera") shows the camera's render fields. For rendering into a texture (mirrors, minimaps, in-UI 3D) see the render-textures guide; for the shaders these passes run, the shaders guide. The model to hold: content makes the look, lights/postprocess tune the scene at runtime, and .world_settings [render] sets the pipeline.