mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-01-03 16:13:30 +08:00
add slabs
This commit is contained in:
parent
67af28c76c
commit
c29d08a5f5
File diff suppressed because one or more lines are too long
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user