hi guys,
I have been played with Geometry Shader for a while, and I know I can emit vertices from Geometry Shader. However, I’m not quite sure the typical applications of GS.
Can someone give me some examples where Geometry Shader gives you lots of benefits?
Texture Access
Geometry shaders have the ability to do a lookup into a texture map, if
supported by the GL implementation. The maximum number of texture image
units available to a geometry shader is
MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT; a maximum number of zero indicates
that the GL implementation does not support texture accesses in geometry
shaders.
so if returns zero then you cannot fetch.