Posts by Thiago • 23 points
2 posts
-
1
votes1
answer124
viewsQ: How to change the color of each rendered object in opengl C++ with shaders?
I’m learning now Vbos and Vaos, and I can’t draw objects of different colors, they are rendered with the same color. I tried to use Uniform but I couldn’t make it work, how can I do it? Fragment…
-
0
votes1
answer36
viewsQ: Delete queue element and release memory for this function?
I’m starting to understand pointers better and I’m implementing a queue, and it follows the function: FILA *removeNodeFIFO(FILA **raiz) { FILA *aux = *raiz; if (aux == NULL) { return NULL; } else {…