Not logged inOpenClonk Forum
Up Topic Simplify fragment shaders?

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
Oh, interesting. I was confused by the float-to-int-and-back-again conversions in queryMatMap, so I thought this is precisely to prevent any interpolation and make sure the correct "slice" of the 3D texture is sampled. With this in mind I still think the texture array is a better option, and transition could be achieved by sampling twice from it. But at the moment with the current textures it does not make much of a difference anyway.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill