add slabs

This commit is contained in:
NULL511 2024-05-02 19:15:22 -04:00
parent 67af28c76c
commit c29d08a5f5
3 changed files with 31 additions and 17 deletions

File diff suppressed because one or more lines are too long

View File

@ -62,9 +62,12 @@
#define BLOCK_DOOR_S 1303
#define BLOCK_DOOR_W 1304
#define BLOCK_TRAPDOOR_BOTTOM 1305
#define BLOCK_TRAPDOOR_TOP 1306
#define BLOCK_TRAPDOOR_N 1307
#define BLOCK_TRAPDOOR_E 1308
#define BLOCK_TRAPDOOR_S 1309
#define BLOCK_TRAPDOOR_W 1310
#define BLOCK_SLAB_TOP 1305
#define BLOCK_SLAB_BOTTOM 1306
#define BLOCK_TRAPDOOR_BOTTOM 1307
#define BLOCK_TRAPDOOR_TOP 1308
#define BLOCK_TRAPDOOR_N 1309
#define BLOCK_TRAPDOOR_E 1310
#define BLOCK_TRAPDOOR_S 1311
#define BLOCK_TRAPDOOR_W 1312

View File

@ -275,6 +275,14 @@ void main() {
mixWeight = 0.8;
break;
case BLOCK_SLAB_TOP:
mixMask = BuildLpvMask(1u, 1u, 1u, 1u, 0u, 1u);
mixWeight = 0.5;
break;
case BLOCK_SLAB_BOTTOM:
mixMask = BuildLpvMask(1u, 1u, 1u, 1u, 1u, 0u);
mixWeight = 0.5;
break;
case BLOCK_TRAPDOOR_BOTTOM:
mixMask = BuildLpvMask(1u, 1u, 1u, 1u, 1u, 0u);