This adds a function to manually return the offset texture position for sampling textures in the volume rendering fragment shaders. Fixes https://github.com/yt-project/yt_idv/issues/25 in which textureOffset was causing a compilation error on some systems.
Some screenshots of the max intensity and projection volume rendering for the amr and octree examples for reference:
This adds a function to manually return the offset texture position for sampling textures in the volume rendering fragment shaders. Fixes https://github.com/yt-project/yt_idv/issues/25 in which
textureOffset
was causing a compilation error on some systems.Some screenshots of the max intensity and projection volume rendering for the amr and octree examples for reference: