Not logged inOpenClonk Forum
Up Topic 3D mesh rendering

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Clonk-Karl

> Because ClearBoxDw allocates the main memory buffer for the box, so that only that box needs to be sent to the gpu, and not the whole texture, or every pixel separately. It's an important optimization.


Thanks for the explanation. I added a comment mentioning this in the code so I don't wonder again later :)

> No, but changing this to GL_MODULATE is one of the advantages that this patch gives us.


Ah, so GL_MODULATE is actually what we want and GL_ADD was some sort of "approximation" for the inverted case?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill