mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
disable custom model extended blocks culling until splitting it
This commit is contained in:
parent
78062e2197
commit
48105d086b
1 changed files with 3 additions and 1 deletions
|
|
@ -326,7 +326,9 @@ void BlocksRenderer::blockCustomModel(
|
|||
0.5f;
|
||||
vp = vp.x * X + vp.y * Y + vp.z * Z;
|
||||
|
||||
if (!isOpen(glm::floor(coord + vp + 0.5f + n * 1e-3f), block, variant) && is_aligned(n)) {
|
||||
if (!block.rt.extended
|
||||
&& !isOpen(glm::floor(coord + vp + 0.5f + n * 1e-3f), block, variant)
|
||||
&& is_aligned(n)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue