Ray tracing simulates light paths for lifelike reflections, shadows, and global illumination in 2026’s AAA titles like Alan Wake 2 and Black Myth: Wukong. Unlike rasterization’s approximations, it traces rays from camera through scenes, enabling path-traced realism on RTX 5090 or RX 8900 XTX. This guide unpacks the pipeline, hardware, denoising, and hybrid use for 60+ FPS at 4K.
Ray Tracing vs Rasterization Fundamentals
Rasterization projects 3D models onto 2D screens via triangles, fast for real-time but faking light with baked maps or screen-space tricks.
Ray tracing reverses: rays from camera/pixel bounce realistically, computing intersections for accurate physics.
Pros and Cons Comparison
| Aspect | Rasterization | Ray Tracing |
|---|---|---|
| Speed | High FPS, GPU-optimized | Compute-heavy, needs hardware |
| Realism | Approximations (SSR, baked GI) | Physically accurate light |
| Dev Effort | Manual lightmaps, probes | Automatic, dynamic scenes |
| Use Case | Base rendering | Reflections, RTGI, shadows |
Hybrid wins: Raster base + RT effects.
Building the Scene: Acceleration Structures
Raw ray-triangle tests explode compute—trillions/frame impossible. Bounding Volume Hierarchies (BVH) accelerate: nest objects in boxes, prune empty space.
Bottom-Level AS (BLAS): Per-mesh BVH from vertices/indexes.
Top-Level AS (TLAS): Instances BLAS with transforms.
Vulkan/DXR build/update dynamically; refits cut costs 10x.
Pipeline Flow
The Real-Time Ray Tracing Pipeline
DXR/Vulkan RT APIs dispatch rays via shaders.
- Ray Generation Shader: Launches rays per pixel (primary, secondary). Computes origin/direction.
- Traversal: RT cores query BVH for closest hit/miss.
- Any-Hit Shader: Optional, alpha-tests transparents.
- Closest-Hit Shader: Computes material shading, spawns secondaries (reflection ray).
- Miss Shader: Skybox/sky for out-of-bounds.
Shader Binding Table (SBT) maps hits to shaders.
Acceleration Diagram
Rays bounce recursively, capped at 4-8 for perf.
Ray Types in Games
- Primary: Visibility from camera.
- Shadow: Light-to-surface; occluders block.
- Reflection/Refraction: Bounce through materials.
- GI: Diffuse inter-reflection for bounced light.
UE5 Lumen: 100s rays/frame for scene-wide GI.
Path Tracing: Unbiased full bounces; noisy, needs denoising.
Denoising: From Noise to Clarity
Few rays/pixel = grainy images. Denoising reconstructs:
- Spatial: Blur neighbors (AI-accelerated).
- Temporal: Accumulate history via reprojection; reject outliers.
ReSTIR: Reservoir sampling shares samples efficiently.
NVIDIA: OptiX denoiser; AMD: similar.
Reshaders like RTGI simulate RT in non-native games.
Hardware Acceleration: RT Cores Evolve
Software RT too slow; dedicated cores handle BVH traversal/intersection.
NVIDIA Blackwell (RTX 50): 5th-gen RT cores, 2x Ada; LSS primitives for motion blur.
AMD RDNA 4 (RX 8900): 3rd-gen accelerators, 20% raster IPC + RT uplift; competitive path tracing.
Intel Arc: XeSS + RT matrices.
Consoles: PS5 Pro RT uplift; PS6 “Radiance Cores” 6-12x for path tracing.
Hybrid Rendering in Modern Engines
Raster base: G-buffer (normals, depth).
RT pass: Reflections (hit color to screen), shadows (visibility buffer).
UE5: Lumen (software/HW RT hybrid), Path Tracer previews.
Unity HDRP: RTGI/reflections via DXR/VKRT.
Cost: RT reflections 20-50% FPS hit; mitigated by upscaling.
Upscaling: DLSS/FSR/XeSS for Viable FPS
RT tanks FPS; AI upscalers recover:
- DLSS 4: Neural reconstruction + MFG (3x frames).
- FSR 4: Open-source temporal.
- XeSS: Intel matrix cores.
Cyberpunk: Native 4K RT 30 FPS → DLSS 120+.
Real-World Benchmarks: 2026 Top RT Games
RTX 5090/RX 8900 XTX at 4K RT Ultra.
FPS Table (Avg, Upscaled)
| Game | RTX 5090 | RX 8900 XTX | Notes |
|---|---|---|---|
| Alan Wake 2 (PT) | 85 | 65 | Path-traced mastery |
| Cyberpunk (RT Over.) | 110 | 90 | DLSS/FSR 4 |
| Black Myth: Wukong | 95 | 85 | Fur RT |
| Avatar Frontiers | 75 | 70 | Dense foliage RTGI |
NVIDIA leads RT 20-30%; AMD closes raster gap.
Challenges and Optimizations
Noise/fireflies: AI denoisers.
Motion: Disocclusion via history reject.
Cost: Selective RT (screenspace fallback).
Dev tips: Build AS async; cull rays.
Future: Path Tracing Ubiquity
2026: Path-traced standards via radiance cores (PS6), neural rendering.
RTX 60/RDNA5: 4x RT perf.
Full-scene PT at 60 FPS 4K viable.
Conclusion
Ray tracing revolutionizes games via BVH-accelerated pipelines, RT cores, and AI denoising—delivering cinema realism hybrid with raster.
Key takeaways:
- Pipeline: Gen → Traverse → Hit shaders.
- Hardware: Blackwell/RDNA4 enable RT effects at 60+ FPS.
- Must-Haves: Upscalers like DLSS for playability.
- Hybrid Future: Path tracing incoming, boosting immersion.
Master RT for next-gen visuals.