Confirmedusers
272
edits
(Add modding navbox) |
(Fix link) |
||
Line 1: | Line 1: | ||
Each visible chunk is tessellated into a mesh, and that mesh is reused until the chunk is unloaded, or the chunk is marked dirty. The chunk is retessellated on a [[Modding:Render_Stages|background thread]] when it is marked dirty. | Each visible chunk is tessellated into a mesh, and that mesh is reused until the chunk is unloaded, or the chunk is marked dirty. The chunk is retessellated on a [[Modding:Render_Stages|background thread]] when it is marked dirty. | ||
The chunk tessellator calls a block tessellator for each block in the chunk. Blocks select their tessellator through the [[ | The chunk tessellator calls a block tessellator for each block in the chunk. Blocks select their tessellator through the [[Modding:Block_Json_Properties|drawtype]] property. The property value is an [https://apidocs.vintagestory.at/api/Vintagestory.API.Client.EnumDrawType.html EnumDrawType], and the parsing is case insensitive. | ||
== BlockLayer == | == BlockLayer == |