I have a 100 GL_POINTS and am running a shader on each. I have an array of 100 floats in my main program and I want to pass a single float from that array to the shader for each vertex. Is there some way to bind a value from my array to a vertex so each individual vertex gets the same value every time? How can I accomplish this?
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.