Skip to content

vertexMidMesh

Sent to fragment: NO
Remaps: at_midBlock


The xyz components store the world space offset from the vertex’s position to the center of the mesh in a 1/64th block unit.
For terrain-like geometry, it correspond to the offset from the block center.

The w component stores the light emission for block entities and terrain-like geometry (range from 0 to 15).

Equivalent to Iris’ at_midBlock.