Atlas padding, mip-mapping

This commit is contained in:
MihailRis
2023-11-12 04:42:04 +03:00
parent 9cde99f3f7
commit 55538d3b02
8 changed files with 63 additions and 18 deletions
+2
View File
@@ -18,4 +18,6 @@ inline uint vox_index(int x, int y, int z, int w, int d) {
return (y * d + z) * w + x;
}
#define ATLAS_MARGIN_SIZE 2
#endif // SRC_CONSTANTS_H_