[1.15.2] Multiblock Page ignores cutout render layer for modded blocks
klikli-dev opened this issue ยท 0 comments
Description
Blocks in the cutout or cutout mipped renderlayer render correctly in the in-world preview, however on the multiblock page in the book the transparent/cutout parts are shown as black.
Expected behaviour
Blocks render the same in the in-world preview and in the multiblock page preview within the book.
Reproduce
The issue can be reproduced on this branch: https://github.com/klikli-dev/occultism/tree/update-1.15.2-patchouli-books with the "Dictionary of Debug" item.
Additional Information
- The render layer is set up in the FMLClientSetupEvent using
RenderTypeLookup.setRenderLayer(OccultismBlocks.CHALK_GLYPH_WHITE.get(), RenderType.getCutout());
- It seems vanilla blocks like the redstone wire, leaves or sapling render correctly, however even when rendering a custom sapling based on SaplingBlock, using the same material and block properties as a vanilla sapling and registering it as RenderType.getCutoutMipped() the issue reproduces.
Finally, thank you for the awesome mod, it makes creating guide books a breeze!