Created attachment 3369[details]
screenshot of issue
The organic tubes with shader deform in q3dm4 do not render correctly in OpenGL2 renderer.
Found by Tobias Kuehnhammer.
Looks like this is a bug with the lightall shader not supporting deforms, and the shader parser using it anyway.
I've added some code to fall back to the generic shader in this case. This means sun shadows will be incorrect on surfaces with deforms or adjustColorsForFog, though.
Created attachment 3369 [details] screenshot of issue The organic tubes with shader deform in q3dm4 do not render correctly in OpenGL2 renderer. Found by Tobias Kuehnhammer.