Skip to main content

r.PathTracing.CompactionDepth

Var

Unreal Engine Var console variable.

rPathTracingCompactionDepth

Description

Enables path compaction to improve GPU occupancy for the path tracer. The value sets the bounce up to which compaction will happen, beyond that point the path tracer will handle bounces within the dispatch. (default: -1, all bounces)\n

Usage

r.PathTracing.CompactionDepth [value]

Set via the console (~) or in DefaultEngine.ini / DefaultGame.ini.