Starsector log:
11898 [Thread-3] INFO com.fs.starfarer.launcher.ModManager - Saving enabled mod list [fast_engine_rendering|lw_lazylib]
12987 [Thread-4] INFO com.fs.starfarer.StarfarerLauncher - Running with the following mods (in order of priority):
12987 [Thread-4] INFO com.fs.starfarer.StarfarerLauncher - Fast Engine Rendering [id: fast_engine_rendering] [version 1.0.3] (from /Applications/Games/Starsector.app/Contents/Resources/Java/../../../mods/FastEngineRendering)
12987 [Thread-4] INFO com.fs.starfarer.StarfarerLauncher - LazyLib [id: lw_lazylib] [version 2.6] (from /Applications/Games/Starsector.app/Contents/Resources/Java/../../../mods/LazyLib)
12990 [Thread-4] INFO com.fs.starfarer.StarfarerLauncher - Mod list finished
12990 [Thread-4] INFO com.fs.starfarer.settings.StarfarerSettings - Loading settings
12990 [Thread-4] INFO com.fs.starfarer.loading.LoadingUtils - Loading JSON from [ABSOLUTE_AND_CWD: null (data/config/settings.json)]
12996 [Thread-4] INFO com.fs.starfarer.loading.LoadingUtils - Loading JSON from [DIRECTORY: /Applications/Games/Starsector.app/Contents/Resources/Java/../../../mods/FastEngineRendering (data/config/settings.json)]
[...]
22397 [Thread-4] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ships/hound/hound_luddic_church.png (using cast)
22423 [Thread-4] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ships/stations/module_medium_pd1.png (using cast)
22438 [Thread-4] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ships/mercury/mercury_substandard.png (using cast)
22450 [Thread-4] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/ships/wasp_ftr.png (using cast)
22614 [Thread-4] INFO com.fs.starfarer.loading.LoadingUtils - Loading CSV data from [DIRECTORY: /Applications/Games/Starsector.app/Contents/Resources/Java/../../../mods/FastEngineRendering]
22614 [Thread-4] INFO com.fs.starfarer.loading.LoadingUtils - Loading JSON from [lazylib_settings.json]
22619 [Thread-4] INFO com.fs.starfarer.loading.LoadingUtils - Loading JSON from [mod_info.json]
22620 [Thread-4] INFO org.lazywizard.lazylib.LazyLib - Running LazyLib v2.6, built for Starsector 0.95a-RC8
22631 [Thread-4] INFO com.fs.graphics.TextureLoader - Cleaned buffer for texture graphics/particlealpha32sq.png (using cast)
22652 [Thread-10] INFO sound.public - Creating streaming player for music with id [miscallenous_main_menu.ogg]
22653 [Thread-10] INFO sound.H - Playing music with id [miscallenous_main_menu.ogg]
23104 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: Error creating vertex shader
ERROR: 0:1: '' : version '330' is not supported
ERROR: 0:3: 'layout' : syntax error: syntax error
java.lang.RuntimeException: Error creating vertex shader
ERROR: 0:1: '' : version '330' is not supported
ERROR: 0:3: 'layout' : syntax error: syntax error
at data.scripts.shaders.util.fer_ShaderProgram.createVertexShader(fer_ShaderProgram.java:26)
at data.scripts.shaders.fer_EngineFlareShader.<init>(fer_EngineFlareShader.java:48)
at data.scripts.plugins.fer_CombatEffectsPlugin.init(fer_CombatEffectsPlugin.java:14)
at com.fs.starfarer.title.C.OO0O$Oo.o00000(Unknown Source)
at com.fs.starfarer.combat.A.B.รต00000(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.init(Unknown Source)
at com.fs.starfarer.title.TitleScreenState.prepare(Unknown Source)
at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.super(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
-----
Fast Engine Rendering mod uses GLSLang 3.30
https://github.com/automatopaste/fast-engine-rendering/blob/main/data/shaders/engineflare.vert https://github.com/automatopaste/fast-engine-rendering/blob/main/data/shaders/engineflare.fragFor reference, ShaderLib / GraphicsLib mod uses GLSLang 1.10
https://bitbucket.org/DarkRevenant/graphicslib/src/master/src/data/shaders/lights/lights.vert https://bitbucket.org/DarkRevenant/graphicslib/src/master/src/data/shaders/lights/lights.fragUsing GLSLang 3.30 on macOS requires explicitly choosing the appropriate OpenGL profile
https://github.com/KogeLabs/Ockero/issues/4 https://github.com/KogeLabs/Ockero/commit/2bcacaa5b22f9b83998641dd6ce108a14e53e7c6 https://stackoverflow.com/questions/20931528/shader-cant-be-compiled/20932820#20932820LWJGL 2 - choosing OpenGL profile
http://forum.lwjgl.org/index.php?topic=5777.0StarSector is built on the OpenGL Fixed Function Pipeline, according to several messages posted by Alex on the forum
https://fractalsoftworks.com/forum/index.php?topic=4106.msg68565#msg68565 https://fractalsoftworks.com/forum/index.php?topic=7677.msg127142#msg127142 https://fractalsoftworks.com/forum/index.php?topic=7677.msg127158#msg127158 https://fractalsoftworks.com/forum/index.php?topic=22480.msg339117#msg339117Fixed Function Pipeline removed from OpenGL 3.1 and above
https://www.khronos.org/opengl/wiki/Fixed_Function_PipelineOn macOS, software can use either OpenGL 2.1 features or OpenGL 3.2+ features, software can't use both together
https://www.khronos.org/opengl/wiki/OpenGL_Context - see "Platform Issue (MacOSX)"
(so my understanding is you can't have both Fixed Function Pipeline and GLSLang 3.30 working together on macOS)
GLSLang specifications, for reference
https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.1.10.pdf https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.3.30.pdf