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

Type: List of blocks

Optional

No alpha, no blending (solid textures).

layer.cutout

Type: List of blocks

Optional

Alpha, no blending (cutout textures with mipmaps).

layer.translucent

Type: List of blocks

Optional

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.