Modding:Debugging Content: Difference between revisions

From Vintage Story Wiki
m
Added solid block glitch
m (Command line.)
m (Added solid block glitch)
Line 36: Line 36:
* Although the issue is supposedly solved from [https://www.vintagestory.at/blog.html/news/v1190-dejank-redux-stable-r374/ v''1.19.0''], this can still sometimes happen due to having a large number of textures.
* Although the issue is supposedly solved from [https://www.vintagestory.at/blog.html/news/v1190-dejank-redux-stable-r374/ v''1.19.0''], this can still sometimes happen due to having a large number of textures.
* It may also be caused by using unsupported graphics cards, potentially those that have a low amount of VRAM.
* It may also be caused by using unsupported graphics cards, potentially those that have a low amount of VRAM.
=== My Block with a custom shape is causing holes in adjacent blocks. ===
[[File:Block not showing horizontal tiles for debugging content..png|frameless]]
* Your block needs to be marked as not solid and not opaque.<syntaxhighlight lang="json">
"sidesolid": {
"all": false
},
"sideopaque": {
"all": false
}
</syntaxhighlight>
** This is due to how block occlusion works - A block's face is only rendered if the connecting face is not marked as solid.


== Debugging & Logs ==
== Debugging & Logs ==
Confirmedusers
637

edits