Modding:Block Tessellator: Difference between revisions

From Vintage Story Wiki
→‎SurfaceLayer: doNotRenderAtLod2
(→‎CrossAndSnowlayer: doNotRenderAtLod2)
(→‎SurfaceLayer: doNotRenderAtLod2)
Line 87: Line 87:


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 respected. If the block is in the dark, then it is drawn at [[Modding:Level_of_detail|level]] 0 (only visible nearby). Else if <code>doNotRenderAtLod2</code> is true, then it is drawn at level 2 (visible up to medium distances). Else, it is drawn at level 1 (visible everywhere within the frustum). Most decors set <code>doNotRenderAtLod2</code> to true.


{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
Confirmedusers
271

edits