Task: need to store grid of 128x128x128 cubes (36 vertices each) no octree yet.. any ideas?
One Reply to “How to store more than 35 Million floats?”
Just store colour (vec3). Render with instancing. Reconstruct position in your vertex shader by instance id. 6 million floats. Math FTW! In this case, store colours in lookup table, get away with 8bit colour index. 2 million bytes. Old skool FTW!
Just store colour (vec3). Render with instancing. Reconstruct position in your vertex shader by instance id. 6 million floats. Math FTW! In this case, store colours in lookup table, get away with 8bit colour index. 2 million bytes. Old skool FTW!