feat(TU25): add new render layer for water so some semi transparent objects don't cull water

This commit is contained in:
Patoke
2026-04-22 09:43:31 +10:00
committed by la
parent 0b3b9c4c9f
commit b3fb0e9ec0
6 changed files with 51 additions and 31 deletions
+1 -1
View File
@@ -810,7 +810,7 @@ int LevelRenderer::renderChunks(int from, int to, int layer, double alpha)
if( ( globalChunkFlags[pClipChunk->globalIdx] & emptyFlag ) == emptyFlag ) continue; // Check that this particular layer isn't empty
// List can be calculated directly from the chunk's global idex
int list = pClipChunk->globalIdx * 2 + layer;
int list = pClipChunk->globalIdx * 3 + layer;
list += chunkLists;
if(RenderManager.CBuffCall(list, first))