Modding:Block Tessellator: Difference between revisions

From Vintage Story Wiki
→‎BlockLayer: level of detail
(→‎BlockLayer: level of detail)
Line 8: Line 8:


The [[Modding:Block_Json_Properties#p_renderpass|renderpass]] property is respected.
The [[Modding:Block_Json_Properties#p_renderpass|renderpass]] property is respected.
The <code>doNotRenderAtLod2</code> property is ignored. The block is always drawn at [[Modding:Level_of_detail|level]] 1.


Specifically, this tessellator category contains 7 tessellators. The number at the end represents how tall to draw the block, in eighths of a block. BlockLayer_0 is not a valid tessellator, because the surface tessellator is more appropriate for a 0 high block. BlockLayer_8 is not a valid tessellator, because Cube should be used instead for full blocks.
Specifically, this tessellator category contains 7 tessellators. The number at the end represents how tall to draw the block, in eighths of a block. BlockLayer_0 is not a valid tessellator, because the surface tessellator is more appropriate for a 0 high block. BlockLayer_8 is not a valid tessellator, because Cube should be used instead for full blocks.
Confirmedusers
271

edits