Suggestion: vertex buffer with float vertex color


#1

Hi all,
for my game I need to pass at the shader some info per vertex. My first idea is to reuse the color channel of the vertex buffer, but the type of this channel is 4 unsigned byte and I need 4 float (with positive and negative values)…

Any suggestions on how to solve it?