Engine User Settings
Nodes

Shader Compiler

In-game shader compilation

Unreal Engine has several issues with stuttering due to the shader compiler. This feature allows you to compile shaders in-game, making the experience more seamless.

How to use

Drag and drop ABP_ShadersCompiler to your menu level

Get reference to the actor and them call start function from ABP_ShadersCompiler

  • Warning: Avoid compiling shaders in editor mode, as this will compile the engineโ€™s built-in materials and may lead to increased RAM usage.

Variables

Material Count

  • Get number of material shaders compiled Shader compiler

Material Length

  • Get number of material shaders to be compiled Shader compiler

Niagara Count

  • Get number of niagara system compiled Shader compiler

Niagara Length

  • Get number of niagara system to be compiled Shader compiler

Nodes

Start

  • Start shader compilation
๐‘“
Start
Target is ABP Shaders Compiler
Input pin
Input pin
Target
Output pin

Stop

  • Stop shader compilation
๐‘“
Stop
Target is ABP Shaders Compiler
Input pin
Input pin
Target
Output pin

Events

On Started

  • Event triggered when shader start to compile
Bind Event to On Started
Input pin
Input pin
Target
Input pin
Event
Output pin
On Started
Custom Event
Output pin

On Shader Compiled

  • Event triggered when one shader has been compiled.
Bind Event to On Shader Compiled
Input pin
Input pin
Target
Input pin
Event
Output pin
On Shader Compiled
Custom Event
Output pin
Shaders Compiled
Output pin

On Fisnish

  • Event triggered when all shaders compilation has ben finished.
Bind Event to On Fisnish
Input pin
Input pin
Target
Input pin
Event
Output pin
On Fisnish
Custom Event
Output pin