Got a texture partially working now(it should be half blue, half purple). Now I gotta clean up and split my code.
Actually I did it right but I was using double floats instead of single floats and the fragment shader was expecting single floats.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!