I'd like to write a wireframe shader for maya viewport 2.0. It could be with the API or GLSL (ogsfx)
It seems that ogsfx handle only triangles as geometry shader inputs and I'm not sure how to pass maya's vertex data to the shader anyway (how many verts per poly and orders).
MPxHwShader works fine as expected with the 2.1 opengl functions like gl_drawelement() but it is only displayed on viewport 1.0.
What's the best approach for making this shader? (excluding MPXlocator)