Re: How to modify algorithm to return a triangle with different colors of vertices?
Posted by elect on Apr 01, 2017; 7:37am
URL: https://forum.jogamp.org/How-to-modify-algorithm-to-return-a-triangle-with-different-colors-of-vertices-tp4037830p4037831.html
Easy, you need to provide data for the color attribute in the buffer object you provide.
But the code you provided it's incomplete, you need buffer(s) and vertex array(s).