How Modern Game Engines Like Unreal & Unity Handle Real-Time Rendering

Unreal Engine 5.7 and Unity 6 (6000.3) power 2026’s AAA titles with hybrid raster-ray traced pipelines for 60+ FPS photorealism. UE5.7 advances Nanite Foliage and Lumen efficiency; Unity’s SRP scales URP for mobile to HDRP’s RTGI.

Core Real-Time Rendering Concepts

Real-time pipelines balance rasterization (triangle-to-pixel) speed with ray tracing accuracy under 16.7ms/frame budgets. Deferred stores G-buffers (normals, albedo) for scalable lighting; forward shades immediately for few lights.

Challenges: Massive geometry (billions tris), dynamic GI/reflections, disocclusions. Solutions: Virtualization (Nanite), temporal accumulation (TSR), denoising.

Unreal Engine 5.7 Pipeline Overview

UE5.7 defaults to deferred rendering, optimized for Nanite/Lumen/Substrate.

Key Pipeline Stages

StageDescriptionTech Highlights
Culling/VisibilityFrustum, HZB, cluster rejectionNanite streaming, HZB priming
Depth Pre-PassHi-Z/MSAA depth bufferNanite LOD0
G-BufferAlbedo, normals, materials (adaptive/blendable paths)Substrate materials (production)
Deferred LightingScreen-space + GI/reflectionsLumen, MegaLights (beta)
ShadowsVirtual Shadow Maps, VSM receiver masksNiagara volumes (beta)
TransparentsForward clustered
Post-ProcessUpscale/AA, effects, DoFTSR, motion blur

Nanite: Virtualized Geometry in UE5.7

Nanite clusters meshes into 256-triangle pages, streaming/rasterizing visible micropolygons—no LOD pops, 10M+ tris/frame.

5.7 Upgrades:

  • Nanite Foliage (Exp.): Assemblies group instances; skinning for wind; voxels for distant pixel-detail (animation/material preserved).
  • Dithered opacity, culling opts (r.Nanite.Culling.MinLOD), residency control.
  • Perf: 60 FPS lifelike foliage on current-gen consoles.

Limits: Animated fallback to traditional raster.

Lumen: Dynamic GI/Reflections

Lumen traces SDF rays + surface cache for fully dynamic GI/reflections, infinite bounces.

5.7:

  • Half-res integration (High scalab., ~0.5ms save 1080p console).
  • Screen probe: Bent normals, foliage AO, firefly clamp.
  • HWRT split-screen; tile opts reuse G-buffer.
  • Defaults: SWRT deprecated, HWRT focus.

Perf: 5-10ms SW, higher HW quality.

TSR: Temporal Upscaling/AA

TSR reprojects history (16+ samples), parallax masks disocclusions, rejects shading changes.

Advantages vs TAA: Less ghosting/flicker on Nanite; 2x FPS upscale (1080p->4K, 33ms vs 57ms).

5.7: Universal thin geo detection (foliage); exposure offset fix; async compute ~1.1ms crit path.

Integrates Nanite/Lumen: Stabilizes high-freq details.

Unity 6 SRP Fundamentals

SRP scripts rendering via RenderPipeline overrides, ScriptableRenderContext for commands.

URP/HDRP extend: Assets config pipelines.

URP: Forward+ for Scalability

URP (Universal): Forward+ clustered lighting (4096 lights), depth pre-pass, sky.

  • Opaques lit/unlit; transparents forward.
  • Post: Bloom, DoF, FSR/DLSS.
  • SSGI; no native RTGI—lightweight mobile/PC.

2026 Roadmap: Early dynamic GI, unified RT API.

HDRP: High-Fidelity Deferred/Forward

HDRP: Hybrid tile/cluster, PBR/phys-based.

Stages (Deferred)

  1. Opaque forward (alpha-test).
  2. G-Buffer (motion/SSAO).
  3. Lighting (clustered, unlimited).
  4. Decals/volumetrics.
  5. Transparents forward.
  6. Post: RT effects, denoisers.

RT Features (HW accel):

  • RTGI: Indirect lighting.
  • RT Reflections/Shadows/RTAO/Contact.
  • Recursive bounces; SSS.

SSGI/SSR fallbacks; FSR/DLSS/XeSS upscale.

Geometry: Nanite vs Unity Instancing/HLOD

UE Nanite: Virtual, scales by coverage—1.2B tris Valley demo.

Unity: GPU instancing, HLOD, compute skinning—artist LODs required; faster simple scenes.

GI/Reflections Comparison

FeatureUE5.7 LumenUnity HDRPUnity URP
GIDynamic SDF+RT raysRTGI/SSGISSGI
ReflectionsLumen RTRT/SSRSSR
Cost (rel)Baseline (5-10ms)+20% RTLow

Lumen > RTGI fidelity; Unity SSGI lighter.

Upscaling/Anti-Aliasing

UE TSR: History resurrection, ~2x perf, async.

Unity: FSR 3.1/XeSS/DLSS; TAAU/CAS.

Both 2-4x upscale.

Shadows/Effects

UE: VSM streaming, Niagara beta volumes.

Unity: Atlases/cascades (HDRP RT shadows); strong volumetrics/sky.

Performance in 2026 AAA Titles

UE5.7: Fortnite Ch4+ (Nanite/Lumen 60 FPS PS5); Black Myth: Wukong (Nanite fur/caves).

Unity: Genshin (custom URP-like, SSGI worlds); HDRP titles like upcoming with RTGI.

Benchmarks: Unity higher FPS avg, UE resource-heavy but superior fidelity.

EngineRaster FPS (1440p)RT CostFoliage Perf
UE5.7BaselineHighNanite Vox
Unity HDRP+10-20%MedInstancing

UE for cinematic; Unity versatile.

Mobile/VR Optimizations

UE: Forward shading, limited Nanite.

Unity URP: Baked GI, clustered mobile.

VR: Foveated, single-pass.

Future: UE6, Unity Roadmap

UE6: 2028 previews.

Unity 2026: URP dynamic GI, CoreCLR, unified RT.

Neural/mesh shaders ahead.

Leave a Comment