Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Passing an array of colors to shader
Print
Pages: [
1
]
Author
Topic: Passing an array of colors to shader (Read 1068 times)
0 Members and 1 Guest are viewing this topic.
TheFunctionMan
Newbie
Posts: 1
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)?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Passing an array of colors to shader
«
Reply #1 on:
December 12, 2011, 01:39:13 pm »
http://www.sfml-dev.org/forum/viewtopic.php?p=36367#36367
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Passing an array of colors to shader
anything