Modding:Block Tessellator: Difference between revisions

From Vintage Story Wiki
(→‎SurfaceLayer: doNotRenderAtLod2)
(Clarify what level of detail 1 is)
Line 48: Line 48:
The tessellator always uses the Liquid render pass; the <code>renderpass</code> block property is ignored.
The tessellator always uses the Liquid render pass; the <code>renderpass</code> block property is ignored.


The <code>doNotRenderAtLod2</code> property is ignored. The block is always drawn at level 1.  
The <code>doNotRenderAtLod2</code> property is ignored. The block is always drawn at level 1 (visible everywhere within the frustum).


Liquid blocks are recommended to set these properties:
Liquid blocks are recommended to set these properties:
Line 71: Line 71:
The <code>renderpass</code> property only affects the cross. The snow layer is always drawn in the Opaque pass.
The <code>renderpass</code> property only affects the cross. The snow layer is always drawn in the Opaque pass.


The <code>doNotRenderAtLod2</code> property only affects the cross. The snow layer is always drawn at level 1 (always visible within the frustum).
The <code>doNotRenderAtLod2</code> property only affects the cross. The snow layer is always drawn at level 1 (visible everywhere within the frustum).


== JSONAndWater ==
== JSONAndWater ==