GLSL compiler in Magic
Posted: Sat Mar 21, 2026 4:08 pm
Gemini tells me this...
Can anyone confirm the version of the GLSL compiler used in Magic and if it's something that can be updated in a future version?
Similarly, can I add a #VERSION directive at the top of my glsl files to use a different more modern compiler, like the newer 330 or 460 versions?
Code: Select all
The Magic compiler is using an older GLSL standard (likely 1.10 or a strict compatibility profile)
that completely lacks support for array initializers at the declaration level.
Similarly, can I add a #VERSION directive at the top of my glsl files to use a different more modern compiler, like the newer 330 or 460 versions?