GLSL 1.5+ Geometry Shader with Texture Example


I’m looking to render a 2d texture on a 3d ofSpherePrimitive, using a geometry shader in the pipeline. I’ve found bits and pieces of examples doing some parts of this, but can’t stitch it all together. Anyone who knows this who might be able to share a functional, simple example? Happy to post code if it helps – I just don’t think I’m doing it right at all.


did you managed to find a example?

I modified the GeometryShader Example to be compatible with the programmable renderer and version 330. Hopefully this will help. :slight_smile: (10.4 KB)