Camerapture

Camerapture

376k Downloads

Picture Frames appear darker than they should

NurioHin opened this issue · 3 comments

commented

What's the issue?

I'm not sure if this counts as a bug per se, but it seems like odd behavior at least. Sometimes if I hang a picture on the wall, it'll appear as if it's in total darkness, even though the room isn't dark at all. See the screenshot:

Image

Compared to how it's lit as just an item on the floor:

Image

I can't quite find a consistent way to reproduce this, but it seems to happen much more often on 1x1 Picture Frames than larger ones

(Of course I understand I can set the picture to Glowing, which I do for the ones that encounter this bug)

What loader are you using?

Fabric

What is your Minecraft version?

1.21.1

What is Camerapture's version?

1.10.1

commented

Hmm, interesting, I haven't seen this issue before I think. Picture frames are lit as normal entities, the same way as for example item frames and paintings. I imagine it's some kind of bug where the game thinks it's partly clipped into the block behind, and lights it as if there's zero light because of that. I'll see if I can recreate it!

commented

I did some more testing, and any time this happens, it happens indoors. It has never happened outdoors so far after about 50 tests

The quickest way to reproduce this consistently is to just build a 1x1x2 closed-off room (claustrophobic!), place a Torch at the top and the Picture at the bottom like so

Image

Interestingly, if you place the Torch at the bottom and the Picture at the top, the Picture Frame is lit just fine

Image

I tried this without any other mods installed but Camerapture and Fabric API, and this still happens

commented

Image

Oh I found the issue, it's because the hitboxes are misaligned! I'll see if I can fix this!