i havent used spine in ages but I needed to update some animations so I did an update now it wont run.
When I try './Spine.sh' in command line, the spine splash/licensing screen comes up, loads to 98% then crashes with the following error:
java.lang.IllegalArgumentException: Error compiling shader: Vertex shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors. No code generated
I had a similar problem with LibGDX and I had to change the LibGDX source so I could edit the default shaders, changed the shader version from 110 to 330 and LibGDX worked fine after that(I had to make changes to ImmediateModeRenderer20 and Stage).
Is there any way to set the shader/shader version in the command line when running spine?
I am fairly sure it has to do with the very buggy AMD drivers on Ubuntu and GL3+, though my knowledge of graphics programming/GL is minimal. Links to similar problems: https://github.com/libgdx/libgdx/issues/2605
https://github.com/libgdx/libgdx/issues/3273
https://stackoverflow.com/questions/21565680/how-to-enable-opengl-3-3-using-mesa-10-1-on-ubuntu
spine.log is attached
I found another post where the OP had the same problem with LibGDX but fixed it by passing a custom shader into SpriteBatch. I imagine he would still have needed to edit the LibGDX source if he wanted to use the shaperenderer.
http://www.java-gaming.org/index.php?topic=35103.0
Is there anyway to pass in custom shaders from the command line at startup?