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
- 1- Drag and drop
ABP_ShadersCompiler
to your menu level. - 2- Get reference to the actor and them call
start
function fromABP_ShadersCompiler
. - Warning: This process can consume a lot of ram.
Variables
1- Material Count
- Type: int.
- Get number of material shaders compiled.
2- Material Length
- Type: int.
- Get number of material shaders to compile.
3- Niagara Count
- Type: int.
- Get number of niagara system shaders compiled.
4- Niagara Length
- Type: int.
- Get number of niagara system shaders to compile.
5- Shaders Count
- Type: int.
- Get number of shaders compiled.
6- Shaders Length
- Type: int.
- Get number of all shaders to compile.
Nodes
1- Start
- Start shader compilation.
2- Stop
- Stop shader compilation.
Events
1- On Start
- Event called when shader start to compile.
2- On Shader Compiled
- Event called when one shader has been compiled.
3- On Finish
- Event called when all shaders compilation has benn finished.