Skip to main content

r.D3D12.RayTracing.CacheShaderRecords

Var

Unreal Engine Var console variable.

rD3D12RayTracingCacheShaderRecords

Description

Automatically cache and re-use SBT hit group records. This significantly improves CPU performance in large scenes with many identical mesh instances. (default = 1This mode assumes that contents of uniform buffers does not change during ray tracing resource binding.

Usage

r.D3D12.RayTracing.CacheShaderRecords [value]

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