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