mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2024-12-23 01:59:39 +08:00
floodfill player occluder fix
This commit is contained in:
parent
68f029d8c3
commit
48ae8597f6
@ -213,9 +213,12 @@ void main() {
|
||||
uint voxelId = 0u;
|
||||
|
||||
if (currentRenderedItemId > 0) {
|
||||
// TODO: once hand-light is added, switch to this condition
|
||||
// if (entityId != ENTITY_ITEM_FRAME && entityId != ENTITY_PLAYER)
|
||||
if (entityId != ENTITY_ITEM_FRAME)
|
||||
if (entityId == ENTITY_PLAYER) {
|
||||
// TODO: remove once hand-light is added
|
||||
if (currentRenderedItemId < 1000)
|
||||
voxelId = uint(currentRenderedItemId);
|
||||
}
|
||||
else if (entityId != ENTITY_ITEM_FRAME)
|
||||
voxelId = uint(currentRenderedItemId);
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user