Materials & Geometry shaders

solved!
it was caused by the macros in the class declaration, as explained here: