Block Render Layers¶
File location
(shaderpack)/shaders/block.properties
Block Render Layers changes how blocks' textures are rendered and in what order.
Warning
Blocks which are solid opaque cubes (stone, dirt, ores, etc) can't be rendered on a custom layer as this would affect face culling, ambient occlusion, light propagation and so on.
Properties¶
- layer.solid¶
No alpha, no blending (solid textures).
- layer.cutout¶
Alpha, no blending (cutout textures with mipmaps).
- layer.translucent¶
Alpha, blending, mipmaps (e.g., water, stained glass).
Example¶
layer.translucent=glass_pane fence wooden_door
layer.cutout=oak_stairs
layer.solid=stone dirt
Assumes the latest OptiFine & Minecraft versions.
Updated to commit 83d482c3.
Open source at https://gitlab.com/whoatemybutter/optifinedocs.