r.RayTracing.Translucency.PrimaryRayBias
r.RayTracing.Translucency.PrimaryRayBias
#Overview
name: r.RayTracing.Translucency.PrimaryRayBias
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Sets the bias to be subtracted from the primary ray TMax in ray traced Translucency. Larger bias reduces the chance of opaque objects being intersected in ray traversal, saving performance, but at the risk of skipping some thin translucent objects in proximity of opaque objects. (recommended range: 0.00001 - 0.1) (default = 0.00001)
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:100
Scope: file
Source code excerpt:
static float GRayTracingTranslucencyPrimaryRayBias = 1e-5;
static FAutoConsoleVariableRef CVarRayTracingTranslucencyPrimaryRayBias(
TEXT("r.RayTracing.Translucency.PrimaryRayBias"),
GRayTracingTranslucencyPrimaryRayBias,
TEXT("Sets the bias to be subtracted from the primary ray TMax in ray traced Translucency. Larger bias reduces the chance of opaque objects being intersected in ray traversal, saving performance, but at the risk of skipping some thin translucent objects in proximity of opaque objects. (recommended range: 0.00001 - 0.1) (default = 0.00001)"));
DECLARE_GPU_STAT_NAMED(RayTracingTranslucency, TEXT("Ray Tracing Translucency"));
#if RHI_RAYTRACING