Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Passing an array of colors to shader  (Read 1070 times)

0 Members and 1 Guest are viewing this topic.

TheFunctionMan

  • Newbie
  • *
  • Posts: 1
    • View Profile
Passing an array of colors to shader
« 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)?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Laurent Gomila - SFML developer

 

anything