Skip to main content

r.Shaders.RemoveDeadCode

Var

Unreal Engine Var console variable.

rShadersRemoveDeadCode

Description

EXPERIMENTAL: Run a preprocessing step that removes unreferenced code before compiling shadersThis can improve the compilation speed for shaders which include many large utility headers 0: Keep all input source code (Default) 1: Remove unreferenced code before compilatio

Usage

r.Shaders.RemoveDeadCode [value]

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