Thanks to Denny for these
Shader Model 2
"C:\UDK\Binaries\Win32\UDK.exe" precompileshaders platform=pc_sm2 -refcache -unattended -skipmaps LOG=ShaderCache_Sm2.log
Shader Model 3
"C:\UDK\Binaries\Win32\UDK.exe" precompileshaders platform=pc -refcache -unattended -skipmaps LOG=ShaderCache_Sm3.log
Shader Model 4
"C:\UDK\Binaries\Win32\UDK.exe" precompileshaders platform=pc_sm4 -refcache -unattended -skipmaps LOG=ShaderCache_Sm4.log
----
Hi all,
I've got two questions.
Question #1:
Is there a way to generate RefShaderCache files like the ones shipped with UDK? Modified shaders now generate a LocalShaderCache file instead (where the GlobalShaderCache files act as a list of reference).
Question #2:
Is it possible to generate ShaderCaches for all Shader Models? I noticed that when UseDX10Mode is on, SM4 shaders get generated, while without SM3 get generated, older video cards generate SM2 shaders.
If there isn't such an option to do this in one go (also in RefShaderCache files) it would be pretty nice to have.
Lennard




Reply With Quote


Bookmarks