A hands-on reading series through the C++ source of Unreal Engine 5.6’s rendering subsystem. Each article dissects a specific area of the pipeline with actual source code references and bilingual (English/Chinese) explanations.
Part 01 — Pipeline Paradigms
| Article |
Topic |
| Deferred Rendering Pipeline |
FDeferredShadingSceneRenderer — full deferred pipeline, GBuffer layout, all 12 render stages |
| Forward Shading Pipeline |
FMobileSceneRenderer / Desktop Forward — TBDR analysis, single-pass design, light data architecture |
Part 02 — Infrastructure & Graph
| Article |
Topic |
| RDG — Render Dependency Graph |
FRDGBuilder — resource lifetime, pass culling, render pass merging, async compute, custom pass example |
| Thread Concurrency |
Game / Render / RHI thread architecture, ENQUEUE_RENDER_COMMAND, FRenderCommandFence, RenderCommandPipe |
Part 03 — Shader Architecture
Part 04 — Next-Gen Hardware Features
| Article |
Topic |
| Nanite — Virtual Geometry |
Cluster hierarchy (BVH/DAG), FPackedCluster, two-pass occlusion, software vs hardware rasterizer, shading bins |
| Lumen — Dynamic GI |
Surface Cache (Mesh Cards), hybrid tracing decision tree, Screen Probes, Radiance Cache, async compute |
| Virtual Shadow Maps |
16K² virtual address space, physical page pool, page table indirection, static/dynamic cache split |
Part 05 — Engine Modding
Part 06 — Profiling Deep Dives
Source: Engine/Source/Runtime/Renderer/Private/, UE 5.6