I want to compare DX11 and OpenGL performance on Windows, but I can’t figure out how to build the OpenGL global shader caches. Starting with (for example) the Sun Temple demo, I go to Edit > Project Settings > Platforms > Windows and check the OpenGL RHI options. Then I Play as a Standalone Game, which creates an executable under SunTemple\Saved\StagedBuilds\WindowsNoEditor
. But when I look in SunTemple\Saved\StagedBuilds\WindowsNoEditor\Engine
, I see only D3D global shader caches. And if I run with -opengl
or -opengl4
, I get an error about not finding the shader cache, with this suggestion:
You’re running a version of the application built to load COOKED content only, however no COOKED content was found. Consider cooking content for this build, or build and run the UNCOOKED version of the application instead.
How do I do either of those things?