[MC-2399] Transparent blocks visually use the brighter light level that they are next to Created: 06/Nov/12  Updated: 07/Feb/18  Resolved: 07/Feb/18

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.4.7, Snapshot 13w04a, Minecraft 1.5, Minecraft 1.5.2, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w39a, Minecraft 13w39b, Minecraft 1.7.4, Minecraft 14w03b, Minecraft 14w05b, Minecraft 14w34c, Minecraft 1.8, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre3, Minecraft 1.8.1-pre5, Minecraft 1.8.1, Minecraft 1.8.2-pre4, Minecraft 1.8.2-pre5, Minecraft 1.8.2-pre6, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 17w06a, Minecraft 1.12 Pre-Release 5
Fix Version/s: Minecraft 14w04a, Minecraft 14w33c, Minecraft 18w05a

Type: Bug
Reporter: MisterSanderson Assignee: Unassigned
Resolution: Fixed Votes: 19
Labels: None

Attachments: PNG File 2012-11-04_22.06.33-diff-2.png     PNG File 2012-11-04_22.06.33.png     PNG File 2012-11-04_22.06.35.png     PNG File 2013-01-27_11.02.23.png     PNG File 2013-01-27_11.02.25.png     PNG File 2013-01-27_11.03.09.png     PNG File 2013-01-27_11.03.10.png     PNG File 2013-01-27_11.03.29.png     PNG File 2013-01-27_11.03.33.png     PNG File 2015-05-31_15.28.27.png     PNG File 2015-05-31_15.28.32.png     PNG File 2015-05-31_16.06.31.png     PNG File Problematic Light.png     PNG File error2.png     PNG File errror.png    
Issue Links:
Duplicate
is duplicated by MC-24340 Buttons create a very tiny amount of ... Resolved
is duplicated by MC-27466 Lighting bug on door in nether Resolved
is duplicated by MC-31066 Light errors Resolved
is duplicated by MC-75008 Barriers affecting ilumination somehow Resolved
is duplicated by MC-106590 Shadow bugs with a barrier Resolved
is duplicated by MC-3143 Redstone and Night Vision Resolved
Relates
relates to MC-45492 Transparent blocks are much darker Resolved
relates to MC-1253 Ladder, Sign, Fence, Gate, Trapdoor c... Resolved
relates to MC-2729 Normal glass block is darker than the... Resolved
relates to MC-2739 Trapdoors and pressure plates (and ma... Resolved
CHK:
Confirmation Status: Confirmed

 Description   

Flower pots emit a little light, but they shouldn't. This appears to be an error.



 Comments   
Comment by [Mod] Sonicwave [ 07/Feb/18 ]

Appears fixed in 18w05a (possibly earlier).

Comment by [Mod] Sonicwave [ 25/May/17 ]

Confirmed for 1.12-pre5.

Comment by Joshua Jones [ 31/May/15 ]

I've added another attachment to show that even if you light the top of the door it still doesn't match the brightness of the bottom.

I can't see how this isn't a bug because both halves need to look a similar brightness in the same way as the blocks on the wall next to it.

MC-27466 was merged with this bug so it appears it is connected rather than a separate bug in its own right.

Comment by KingSupernova [ 31/May/15 ]

Joshua, I don't think that's a bug. When the door is closed, the bottom block of the door is closer to the light source, and so is brighter.

Comment by Joshua Jones [ 31/May/15 ]

I've added some screenshots of this happening very noticeably with doors in 1.8.6. In my opinion this makes the bug more serious due to how noticeable it is. I think perhaps the description could do with being updated as well if this is all one bug, as it is much worse than just affecting flower pots!

When closed, the bottom section of the door is brighter because of the pumpkin in the floor - even though behind the door is a torch.

When open, both sections are lit evenly.

Comment by [Mod] Sonicwave [ 02/Feb/15 ]

Confirmed all the way up to 1.8.2-pre6.

Comment by [Mod] Sonicwave [ 25/Nov/14 ]

Still in 1.8.1.

Comment by [Mod] Sonicwave [ 04/Nov/14 ]

Confirmed for 1.8.1-pre3, becomes extremely problematic as seen in attached screenshot (with tall grass).

Comment by [Mod] Sonicwave [ 20/Oct/14 ]

Confirmed for 1.8.1-pre2.

Comment by [Mod] Sonicwave [ 06/Oct/14 ]

Confirmed in 1.8.

Comment by qmagnet [ 19/Aug/14 ]

Ah yes. Difficult to reproduce but finally did see it. Just a visual bug though. Does not affect the lighting level.

Comment by Kumasasa [ 19/Aug/14 ]

Attached goodlyay's screenshots to this ticket and updated the description.

Comment by Sealbudsman [ 19/Aug/14 ]

The issue does exist in 14w34c, it was never fixed. The error occurs within gradients of light, never in total darkness, as Bad Time above mentioned. This should probably be in the description...

Comment by qmagnet [ 19/Aug/14 ]

No issue found in 14w34b. Probably fixed when MC-92 was

Comment by Bad Time [ 18/Feb/14 ]

I think this bug is not explained correctly. The problem is that transparent blocks visually use the brighter light level that they are NEXT to.

Example pictures:

https://dl.dropboxusercontent.com/u/12694594/errror.png

https://dl.dropboxusercontent.com/u/12694594/error2.png

Comment by Kumasasa [ 31/Jan/14 ]

Reopened (Probably MC-45492 was fixed by reverting the fix of this issue)

Comment by Bad Time [ 31/Jan/14 ]

This bug happens AGAIN in 14w05b, after the "transparent blocks are much darker" bug was "fixed"...

Comment by Kumasasa [ 25/Jan/14 ]

That was reported in MC-45492

Comment by Evan Twist [ 25/Jan/14 ]

The "fix" isn't any better - now they are one darker than the brightest neighboring block, even tall grass in direct sunlight!

Comment by Jeuv [ 03/Oct/13 ]

Still in 13w39b.

Comment by [Mod] CubeTheThird [ 26/Sep/13 ]

Is this still a concern in the current Minecraft version 1.6.4 / Launcher version 1.2.5 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Jonathan Haas [ 27/Jan/13 ]

Note that the summary isn't completely correct. If the light source is below the transparent block , the brightness of the transparent block is usually one light level below the light level it's supposed to be.

I added some screenshots to make this problem more visible. They are made with smooth lighting off in an enclosed cube of iron blocks.

Comment by MisterSanderson [ 27/Jan/13 ]

Now that it was renamed I see that MC-2729 is the same issue.

Comment by Tails [ 27/Jan/13 ]

Applies to all transparent blocks.

Comment by MisterSanderson [ 07/Nov/12 ]

Daedalus Young, to confirm that it's not an eye trick, you can cover the pot with your fingers and alternate the tabs where the images are opened, just as Jonathan Haas suggested. If you don't see the pot but you see the small difference in the light, there's no eye trick caused by contrast.

Comment by Jonathan Haas [ 07/Nov/12 ]

On a side note, this also explains why half slabs on the ceiling are often rendered too black. The algorithm doesn't take the brightness of the block below into account, so that should probably be fixed, too.

Comment by Jonathan Haas [ 06/Nov/12 ]

After playing around with this a bit (turning smooth lighting off makes the problem more visible), it seems to me, that transparent blocks are picking their visual brightness from either the block above them or one of the 4 block beside them and they use the maximum brightness from these blocks.

I'm not really sure why they do that, but that's clearly the source of the problem. It could problaby fixed by just using the brightness of the block itself or if that's not possible for whatever reason, just substract 1 from the previously calculated maximum brightness to compensate for the added distance from the lighting source.

Comment by Kumasasa [ 06/Nov/12 ]

Again a contrast enhanced diff - in fact, there is a little difference around the flower pot.
If this little difference is emitted light of the pot or diffrences in rendering is unclear

Comment by Jonathan Haas [ 06/Nov/12 ]

Well there is a tiny difference in brightness on these images. Just open them in different tabs in your browser and switch between them and you should see it.

I could reproduce the same thing with redstone dust, stone pressure plates, and so on. Might be either because of some rendering glitch with transparent blocks or because they are slightly darker than the background and the game applies some contrast/hdr filter to the rendered image.

Comment by Kumasasa [ 06/Nov/12 ]

Cannot see it. The slight shadow at the chest is the same.

Comment by [Mojang] Grum (Erik Broes) [ 06/Nov/12 ]

It actually doesn't emit light in a gameplay sense, yeah I do indeed notice an ever so tiny brightness increase. Actually not 100% what is causing it, I think the fact that its a tile-entity slightly offsets the lighting.

Not really much of a problem though

Also Jon; get better diff-tools

Comment by Daedalus Young [ 06/Nov/12 ]

I don't really see it either.
It may look like it, because of the contrast between the pot and the background. The eye plays lots of tricks.

Comment by MisterSanderson [ 06/Nov/12 ]

Jon, if you open the images in the full size you'll can see the small difference. I used both a LCD and a LCD LED screen to see it.

Comment by Chalmes (Jon) [ 06/Nov/12 ]

I don't see it?

I ran the two images through a difference filter, and there's precisely two differences between those two images. One has a flowerpot (only the pixels showing the flowerpot have changed, nothing surrounding it), and a tiny piece showing through the door is different.

Generated at Sun Jan 12 11:57:43 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.