add more floodfill light sources

This commit is contained in:
NULL511
2024-05-24 14:55:21 -04:00
parent 14b20cdcfc
commit dde6acac97
10 changed files with 231 additions and 207 deletions

View File

@ -212,7 +212,7 @@ void main() {
) {
uint voxelId = 0u;
if (currentRenderedItemId > 0) {
if (currentRenderedItemId > 0 && currentRenderedItemId < 1000) {
if (entityId != ENTITY_ITEM_FRAME && entityId != ENTITY_PLAYER)
voxelId = uint(currentRenderedItemId);
}
@ -221,6 +221,7 @@ void main() {
case ENTITY_BLAZE:
case ENTITY_END_CRYSTAL:
// case ENTITY_FIREBALL_SMALL:
case ENTITY_GLOW_SQUID:
case ENTITY_MAGMA_CUBE:
case ENTITY_SPECTRAL_ARROW:
case ENTITY_TNT: