Graphics

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

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