I have a geometry with I am displaying using geometry shader in combination with vbo. I also have two clipping planes which are needed to display the portion of the object I want.
Now I want to display a surface to cover the opening(I render a hollow closed surface using geometry shader) in the geometry caused by the clipping planes.
I tried with stencil buffer approach by rendering the geometry twice. But it is awefully slow.
Suggest a way to make it faster.