How to use CFLAG_StandardOptimization

Thank you for your continued support.

In order to reduce the iteration time when developing a shader, an online document recommends that CFLAG_StandardOptimization be used. When modifying a shader such as BasePassPixelShader.usf, where should I set the flag in order to increase the compilation speed only in my workspace before I finish developing the shader. (It’s not in Console or ini?)

It’s a code flag, you’ll have to modify the engine to send that flag in; if you’re working on PC, you can see find it on D3D11ShaderCompiler.cpp, and just change the code there to not generate optimized shaders.