r.RayTracing.Translucency.MaxRayDistance
r.RayTracing.Translucency.MaxRayDistance
#Overview
name: r.RayTracing.Translucency.MaxRayDistance
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Sets the maximum ray distance for ray traced translucency rays. When ray shortening is used, skybox will not be sampled in RT translucency pass and will be composited later, together with local reflection captures. Negative values turn off this optimization. (default = -1 (infinite rays))
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/RayTracing/RayTracingTranslucency.cpp:75
Scope: file
Source code excerpt:
static float GRayTracingTranslucencyMaxRayDistance = -1;
static FAutoConsoleVariableRef CVarRayTracingTranslucencyMaxRayDistance(
TEXT("r.RayTracing.Translucency.MaxRayDistance"),
GRayTracingTranslucencyMaxRayDistance,
TEXT("Sets the maximum ray distance for ray traced translucency rays. When ray shortening is used, skybox will not be sampled in RT translucency pass and will be composited later, together with local reflection captures. Negative values turn off this optimization. (default = -1 (infinite rays))")
);
static int32 GRayTracingTranslucencySamplesPerPixel = 1;
static FAutoConsoleVariableRef CVarRayTracingTranslucencySamplesPerPixel(