Well, today i decided that i really dont like the idea of passing data through the attributes names, so i decided to chose another solution...basically i pack data on the cpu, send them as floats to the shaders, and unpack them there.
I tried it on the color, which is the only attributes using bytes, and it works well, a single int32 is passed for all four channels.
I lost a huge amount of time due to a stupid and counterintuitive opengl function, but now luckily i got it working fine
Nessun commento:
Posta un commento