SFML community forums

Help => Graphics => Topic started by: TheFunctionMan on December 12, 2011, 01:26:18 pm

Title: Passing an array of colors to shader
Post by: TheFunctionMan on December 12, 2011, 01:26:18 pm
Is there a way to pass an array of color values to the vertex shader in openGL if drawing is being done the old way with glBegin(GL_TRIANGLES)?
Title: Passing an array of colors to shader
Post by: Laurent on December 12, 2011, 01:39:13 pm
http://www.sfml-dev.org/forum/viewtopic.php?p=36367#36367