Is there a way to pass an array of vertex data from the cpu straight to a geometry shader?
If i want to build a sphere inside a GS, I'd rather have a pre calculated array of points that I can access from within the shader instead of generating them on the fly every frame
Maybe there's a way to access a veretex buffer from a shader I don't know about?
I'm using Panda3D but pure OpenGL explanations are more than welcome as well!
Thanks in advance