One line summary of your issue
OpenGL mode for Windows is missing shaders
Please explain your issue is in as much detail as possible.
The Unity Engine client supports forcing OpenGL on windows using the -force-opengl and -force-glcore command line switches; This can be used to run the client when Direct3D mode is causing crashes or the gpu does not meet the minimum supported specifications.
However, the game ships with incomplete OpenGL shaders on Windows. Many of them are missing vertex shaders and have no suitable fallback shader specified causing them to render completely black.
Shaders for the loading screen appear to work perfectly fine, with in-game shaders being the primary issue. This issue persists regardless of any combination of video/graphical options specified by the user in the settings menu.
Screenshots were taken using OpenGL Core 3.2.
Tests were conducted on Intel HD 4600 integrated graphics.
OpenGL Core 4.3 and above caused immediate crash on startup on aforementioned gpu.
OpenGL Core 4.2 and below run perfectly fine aside from the missing shaders on aforementioned gpu.
Output and crash logs for OpenGL Core 3.2 and 4.3 attached.
Crash dump for default Direct3D11 mode also attached.
Steps to reproduce the issue
1. Launch the game client with either the -force-opengl or -force-glcore command line parameter.
2. If the client crashes at startup, use -force-glcoreXY to force a specific version of OpenGL. XY are single-digit numbers representing a major and minor version of OpenGL, respectively. See https://docs.unity3d.com/560/Documentation/Manual/CommandLineArguments.html for accepted OpenGL revisions. Go to step 2a.
2a. Reduce the value incrementally until the client launches (In my testing OGL 4.2 was the latest version that would launch, so -force-glcore42 was used). Continue to step 3.
3. Proceed to main menu from intro cinematic.
4. Start a skirmish match or a campaign game leading into a tactical battle.
5. Continue past the loading screen.
6. Shaders for terrain and objects should appear as solid black, with only a thin silhouette outlining the player's lance.
Upload attachment
OpenGL mode for Windows is missing shaders
Please explain your issue is in as much detail as possible.
The Unity Engine client supports forcing OpenGL on windows using the -force-opengl and -force-glcore command line switches; This can be used to run the client when Direct3D mode is causing crashes or the gpu does not meet the minimum supported specifications.
However, the game ships with incomplete OpenGL shaders on Windows. Many of them are missing vertex shaders and have no suitable fallback shader specified causing them to render completely black.
Shaders for the loading screen appear to work perfectly fine, with in-game shaders being the primary issue. This issue persists regardless of any combination of video/graphical options specified by the user in the settings menu.
Screenshots were taken using OpenGL Core 3.2.
Tests were conducted on Intel HD 4600 integrated graphics.
OpenGL Core 4.3 and above caused immediate crash on startup on aforementioned gpu.
OpenGL Core 4.2 and below run perfectly fine aside from the missing shaders on aforementioned gpu.
Output and crash logs for OpenGL Core 3.2 and 4.3 attached.
Crash dump for default Direct3D11 mode also attached.
Steps to reproduce the issue
1. Launch the game client with either the -force-opengl or -force-glcore command line parameter.
2. If the client crashes at startup, use -force-glcoreXY to force a specific version of OpenGL. XY are single-digit numbers representing a major and minor version of OpenGL, respectively. See https://docs.unity3d.com/560/Documentation/Manual/CommandLineArguments.html for accepted OpenGL revisions. Go to step 2a.
2a. Reduce the value incrementally until the client launches (In my testing OGL 4.2 was the latest version that would launch, so -force-glcore42 was used). Continue to step 3.
3. Proceed to main menu from intro cinematic.
4. Start a skirmish match or a campaign game leading into a tactical battle.
5. Continue past the loading screen.
6. Shaders for terrain and objects should appear as solid black, with only a thin silhouette outlining the player's lance.
Upload attachment
Attachments
Last edited:
Upvote
0