Hi! I’m trying to compile a shader with a geometry shader but I have some problems.
-The first question is which primitive to set to my geometry shader input if I draw quads ?
-And the second question is how to pass outtput variables from my vertex shader to input variables of my fragment shader ?
I have this link error when compiling the geometry shader :
error: “fTexCoords” not declared as an output from the previous stage
The previous stage of the fragment shader is the geometry shader I guess and not the vertex shader this is probably why I’ve this error.