UE 5.6 Rendering Pipeline — Source Deep Dive

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

Article Topic
Shader Compilation & Material Translation FShader hierarchy, permutation domains, FHLSLMaterialTranslator, ShaderMap caching

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

Article Topic
Custom Shading Model & Substrate SHADINGMODELID_* system, step-by-step custom model implementation, Substrate BSDF layers
Niagara — GPU Compute & Simulation Stages Simulation Stages, Grid2D/3D Data Interfaces, custom DI authoring, fluid/crowd/physics use cases

Part 06 — Profiling Deep Dives

Article Topic
Profiling — Insights, RDG & Hardware Profilers Unreal Insights, GPU Visualizer, RDG Insights, RenderDoc, PIX, NSight, Snapdragon Profiler, bandwidth analysis

Source: Engine/Source/Runtime/Renderer/Private/, UE 5.6