r.Shadow.StencilOptimization

r.Shadow.StencilOptimization

#Overview

name: r.Shadow.StencilOptimization

This variable is created as a Console Variable (cvar).

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/ShadowRendering.cpp:159

Scope: file

Source code excerpt:

static int GStencilOptimization = 1;
static FAutoConsoleVariableRef CVarStencilOptimization(
	TEXT("r.Shadow.StencilOptimization"),
	GStencilOptimization,
	TEXT("Removes stencil clears between shadow projections by zeroing the stencil during testing"),
	ECVF_RenderThreadSafe
	);