mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +00:00
disable custom model extended blocks culling until splitting it
This commit is contained in:
parent
5a702658c0
commit
8b31bdeb78
1 changed files with 3 additions and 1 deletions
|
|
@ -330,7 +330,9 @@ void BlocksRenderer::blockCustomModel(
|
||||||
0.5f;
|
0.5f;
|
||||||
vp = vp.x * X + vp.y * Y + vp.z * Z;
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue