OpenGL

I’m writting a glsl shader under a highly flexible and successful in my opinion library nvFX. But the usage of subroutines in this library is not complete , and in general as it turned out this possibility of a function

In Moby 2011 and 2012 there is a need to connect a separate OGL header 1#include <fbsdk/fbsdk-opengl.h> For plug-ins, which are oriented for compiling on different versions of Moby (below 2011) this header causes an error, since his absence. So it is necessary to introduce an amendment to the version of the sdk: 12345#if FBSDKNamespace > ORSDK2010 #include <fbsdk/fbsdk-opengl.h>;

On my personal experience in adaptation glsl shaders to AMD. I wrote “adaptation”, because this process can not be called in another manner, after setting up under the NVidia card. 1) AMD does not like ARB_draw_buffers require flag in the