File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1082,6 +1082,11 @@ Look for examples in `games/minimal` or `games/minetest_game`.
1082
1082
size: 1 pixel for 16x16, 2 pixels for 32x32 etc.
1083
1083
* The glass 'shine' (or other desired detail) on each node face is supplied
1084
1084
by the second texture specified in `tiles`.
1085
+ * If a third texture is specified in `tiles` it will be used for the top and
1086
+ base of the glass volume.
1087
+ * If third and fourth textures are specified in `tiles`, the third will be
1088
+ used for the top of the glass volume and the fourth will be used for the
1089
+ base of the glass volume.
1085
1090
* `glasslike_framed_optional`
1086
1091
* This switches between the above 2 drawtypes according to the menu setting
1087
1092
'Connected Glass'.
Original file line number Diff line number Diff line change @@ -702,7 +702,7 @@ void MapblockMeshGenerator::drawGlasslikeFramedNode()
702
702
tiles[2 ].layers [0 ].texture &&
703
703
tiles[3 ].layers [0 ].texture ) {
704
704
glass_tiles[0 ] = tiles[4 ];
705
- glass_tiles[1 ] = tiles[0 ];
705
+ glass_tiles[1 ] = tiles[2 ];
706
706
glass_tiles[2 ] = tiles[4 ];
707
707
glass_tiles[3 ] = tiles[4 ];
708
708
glass_tiles[4 ] = tiles[3 ];
You can’t perform that action at this time.
0 commit comments