hanayik / niivue

a WebGL2 based NIFTI volume viewer.
https://hanayik.github.io/niivue
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

Blends an unlimited number of overlays as a single texture on the GPU #106

Closed neurolabusc closed 3 years ago

neurolabusc commented 3 years ago

This works. I did try a 2D texture which should use less memory, but it did not work correctly in practice. The 3D texture seems to work fine and the code is a bit cleaner.