Open GL Core project -- 2
Budget: $10 – $30 USD
Hey, people!
I need someone to make the code so that each vertex of the square has to be in a different color.
Hint: Use the glVertexAttribPointer function. Think where it is most appropriate to define each color. Use uniformVariable in the shaders and in/out to send the necessary data in the appropriate shader.
In Visual Studio under Linkers > Additional dependencies need to be added the following libraries:
opengl32.lib
glu32.lib
I need someone to make the code so that each vertex of the square has to be in a different color.
Hint: Use the glVertexAttribPointer function. Think where it is most appropriate to define each color. Use uniformVariable in the shaders and in/out to send the necessary data in the appropriate shader.
In Visual Studio under Linkers > Additional dependencies need to be added the following libraries:
opengl32.lib
glu32.lib