Skip to content

Linux customshader compilation fix

Fix of an issue with custom shaders from mb not compiling due to different shader compilation behavior on windows and linux regarding absence of #version directive by:

  • displaying a warning message if custom shader is loaded not containing #version directive to hint to modders of potential issues it might bring
  • trying to prepend #version and compile custom shaders from latest 330 GLSL version to oldest 110 version

Merge request reports

Loading