use premultiplied alpha for grid material

This commit is contained in:
Nick Fisher
2025-07-01 16:59:48 +08:00
parent 946a6ae9d2
commit c0cc9fc26a
5 changed files with 2152 additions and 2215 deletions

View File

@@ -8,5 +8,5 @@ GRID_PACKAGE:
GRID_GRID_OFFSET:
.int 0
GRID_GRID_SIZE:
.int 52094
.int 50913

View File

@@ -8,5 +8,5 @@ _GRID_PACKAGE:
_GRID_GRID_OFFSET:
.int 0
_GRID_GRID_SIZE:
.int 52094
.int 50913

File diff suppressed because it is too large Load Diff

View File

@@ -3,15 +3,11 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
extern const uint8_t GRID_PACKAGE[];
extern int GRID_GRID_OFFSET;
extern int GRID_GRID_SIZE;
#ifdef __cplusplus
}
#endif
#define GRID_GRID_DATA (GRID_PACKAGE + GRID_GRID_OFFSET)
#endif