r.RayTracing.EnableMaterials
r.RayTracing.EnableMaterials
#Overview
name: r.RayTracing.EnableMaterials
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
0: bind default material shader that outputs placeholder data\n 1: bind real material shaders (default)\n
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/RayTracingMaterialHitShaders.cpp:22
Scope: file
Source code excerpt:
int32 GEnableRayTracingMaterials = 1;
static FAutoConsoleVariableRef CVarEnableRayTracingMaterials(
TEXT("r.RayTracing.EnableMaterials"),
GEnableRayTracingMaterials,
TEXT(" 0: bind default material shader that outputs placeholder data\n")
TEXT(" 1: bind real material shaders (default)\n"),
ECVF_RenderThreadSafe
);