Indie developer of my own tools
https://www.fab.com/sellers/saeid%20gholizade
float2=8Byte
128*128*128*6*8=96mb.
float2=8Byte
128*128*128*6*8=96mb.
128*128*128*6(vertices for a quad)*16(size of a float2)=192mb for 2,097,152 voxels.
If you have read this far check Voxy at:
www.fab.com/listings/4ce...
128*128*128*6(vertices for a quad)*16(size of a float2)=192mb for 2,097,152 voxels.
If you have read this far check Voxy at:
www.fab.com/listings/4ce...
For the position buffer, I am using a float4 for now, xyz is the position, and w is face and neighbor data, but since my max volume size is 256x256x256, I can pack the position data into a float2 and still have 16bit extra for more../🧵
For the position buffer, I am using a float4 for now, xyz is the position, and w is face and neighbor data, but since my max volume size is 256x256x256, I can pack the position data into a float2 and still have 16bit extra for more../🧵
As for optimizing the buffer sizes, now I skip passing the Scale and Color vertex buffer and directly sample voxel data from the volume texture that I am../🧵
As for optimizing the buffer sizes, now I skip passing the Scale and Color vertex buffer and directly sample voxel data from the volume texture that I am../🧵
www.youtube.com/playlist?lis...
www.youtube.com/playlist?lis...