Talk:Light

Actual Number of Lighting Levels?
I'm not sure if someone was mistaken when they wrote it on here, or if it's simply been changed since Indev, but there are definitely more than just 9 levels of lightness in Alpha. The light from a torch on the floor of a flat, enclosed cavern reaches 13 blocks away from the source, with progressively dimmer light on each block; combined with the max light level (on the source block itself), and the "complete darkness" level on blocks beyond the torch's illumination, that makes 15 different levels of light. And I'm pretty sure that there are more than that in total, since the max level of sunlight looks brighter than the max level of torchlight.

So there are at least 16 different levels of light, including total darkness. I didn't want to change the wiki right away, since I just joined, and because I don't actually know how many levels there are, since I don't know how many are between max torchlight and max sunlight. Plus I don't feel like going to the trouble to make an updated version of the example gif showing how light works. Also I wanted to make sure this wasn't just happening because of something I did in my settings or something, and verify it wasn't only happening on my computer, though I doubt it is. Just wanted to point it out, so that people more familiar with the game/wiki can help figure out what the article should say. - Alazar 19:28, 15 September 2010 (CDT)
 * best guess is any bite size value (a 2^x). water has 8 levels if you count the source/landing tile, 7 if you don't. Soul4hdwn 21:48, 15 September 2010 (CDT)
 * Ahh, probably so, I had forgotten how often the values are byte-based - 64 items in one inventory slot, etc. Well, after testing some it looks like it is most likely 16 levels, and since that fits the byte-sized theme going on, that ought to be it. I'll fix the article, although I still really don't know how to/feel like making a replacement gif. D: Alazar 22:31, 15 September 2010 (CDT)

Fix'd. Codewarrior 22:32, 15 September 2010 (CDT)

Oh, wow, I leave the talk page to work on the article and everything's already been perfectly redone. Awesome! Alazar 22:35, 15 September 2010 (CDT)

What light level is dangerous?
Since I dont want monsters spawning in my fort, and i'd rather not have it entirely covered with torches, what luminescence level do mobs require to spawn? Obviously they can spawn in at least level 4, as they spawn at nighttime, and maybe even a little higher as ive seen them spawn during dusk.

Answered: 7 or less, now on page. Erich666 18:40, 11 February 2011 (UTC)

How do light levels decrease on a diagonal path?
Do light levels decrease in whole block decrements, or is the -1 light level per block a distance calculation where the block is the base unit and the light level is adjusted according to the hypotenuse length. In other words, if a torch is placed on the ground at point (0,0), at point (6,6) is the light level 8 or 5.147? –The preceding unsigned comment was added by (Talk)  Please sign your posts with

It is strictly whole adjacent blocks. If you want to measure distance, it's [Manhattan distance]. The torch would see light level 2, because it is 12 blocks away. —KPReid 21:58, 16 September 2011 (UTC)

How are half-blocks lit?
I'm adding lighting to Minecraft Overviewer (http://github.com/brownan/Minecraft-Overviewer) and I have a pretty firm grasp about how blocks are lit in Alpha, except for the half-block, which seems to borrow its lighting from neighboring blocks in a weird way. Does anyone have the algorithm used down pat, or even any insights? Any info would be appreciated. -- agrif 02:30, 14 October 2010 (UTC)

Monster spawning in Halloween update?
Since the Halloween update, monsters can spawn on higher light levels the deeper it is. Has anyone tested the values relative to depth, and another question: Which square(s) are taken into account? Do monsters need a single floored square with an appropriate light values to spawn? Or do they need a number of squares matching their size, with appropriate light values? -- Ramperkash 10:57, 2 November 2010 (UTC)

Submersible Light Sources
What light sources operate underwater? Maybe this should be mentioned in the table of lights? I'd do it myself but I don't know first-hand. NightChime 08:23, 20 November 2010 (UTC)

Jack O' Lanterns work underwater. I've seen water over lava without obsidian forming (super rare, I think). I'd guess redstone ore (when touched). Anything else? Glowstone, furnaces, portals? Erich666 18:40, 11 February 2011 (UTC)

Lighting oddities.
I had a world where I had a three block wide, ~15 block high column of lava spilling down the wall of my tree farm, as well as a 'fountain' (a lava spring set so it would land on another block and spread out in a fan, about three blocks high). The fountain's lava was bright and gave off the correct light, but the column appeared dark, the tiles themselves being darker than the fountain's, and gave off little or no light. I put torches next to it and they lit the lava up as if it was a dark tile.

On a multiplayer server, a friend built a big room in a lake, with one layer of water over it. He filled the room with torches and saplings in a checkerboard pattern, so every tile that did not have a tree in it had a torch. The room was darker even in direct sunlight than the hallway that led into it that had torches every 8 or 10 spaces.

Does the game change light levels for things depending on the depth they're at? My tree farm was hollowed out of a hill, and my friend's was built up from the leveled bottom of a ~10-12 block deep lake. --StarChaser Tyger 01:15, 23 January 2011 (UTC)

Translucency
New section added: did I miss any blocks that are translucent (let light through)? -- Erich666 18:40, 11 February 2011 (UTC)

New light system
Maybe add something about the new light system?


 * If you are talking about the 1.3 Beta Ambient Occluance (or something like that), the numbers are the same; anyways, there has been images added. -Psispin 13:11, 15 March 2011 (UTC)

Brown mushrooms?
i don't think brown mushrooms should add light, it sounds so weird. D3l1n 01:48, 4 March 2011 (UTC)


 * Whatever you think or not, the fact is that they do, in a way. It is most likely a bug (though it's been awhile since I have read the article). -Psispin 13:10, 15 March 2011 (UTC)
 * The article states that in order to have a slightly "lit" image, they needed a light level of 1. This will only light the square the mushrooms are on, nothing else. Darkid 14:23, 15 March 2011 (UTC)

Mob Spawners
Mob spawners appear to give off light... Anyone know the exact value?Darkid 13:04, 15 March 2011 (UTC)
 * Mob spawners do not give off light. The fire particle effects are bright but do not give off light. --HexZyle 15:00, 12 July 2011 (UTC)

Reformatting
This isn't about the game, just how the page is set up. Notice (And only for people who are logged in) under category "Effects of light" that there are six edit buttons. I've noticed this is because of the way pictures are, but this just seems sloppy. Can someone figure out a way to reformat the page so that the edit buttons are in their correct space, without loosing the pictures? UGoBoom 18:39, 27 March 2011 (UTC)

Table Add-on
In the table on the Light wiki page, maybe some pictures should be added to show how much lighting each object holds. Like a big flat dark area (at night, cave, etc.) and placing down the light source in the middle of the area, screenshot it and add the picture to the table. I mean its good explaining how bright a light source is but maybe showing it too can help explain things a bit easier.

My idea seems a bit dimwitted but I'm just saying it would help explaining the table a bit easier to those "younger players" WiiMaster890 13:00, 29 March 2011 (UTC)


 * That's actually quite a good idea. I'll do it when I have time. Ary31415 12:58, 3 June 2011 (UTC)

Steve Co. Supply Crates emit light :o
I just made a new save to find wolves, but stumbled on to a Steve Co. Supply Crate. Next I went on a hill which gave me a nice view of the surroundings, and what did I see? I saw two Steve Co. Supply Crates sitting a distance away emitting light in the darkness of the night. Kwank3r 01:50, 1 April 2011 (UTC)
 * That is widely known. They have a luminance of 15. It probably will not be added to the table since it is just a gag and will be removed shortly. UGoBoom 01:54, 2 April 2011 (UTC)

Interesting Lighting (Upcoming 1.8)


Note the blue-ish light in the background. Is this part of the lighting update? --HexZyle 11:35, 3 August 2011 (UTC)


 * Yes, Notch said he would make moonlight a slightly bluish color and artificial light more warmly colored. Verhalthur (talk)(contribs) 13:10, 3 August 2011 (UTC)

1.8 Pre-release lighting glitch
http://www.youtube.com/watch?v=yJ00sW3fmQA

Apparently placing a torch in the middle of the ocean confuses Minecraft. RacinFreek 05:23, 10 September 2011 (UTC)
 * It appears that the lighting system doesn't recognize torches being knocked off by liquids. This also happens with fires created by lightning. CertainlyNot 13:57, 29 September 2011 (UTC)

Concerning light_normal.png
Does editing this image change lightness and colors? Cause' I want to do this for my texture-pack. :) --Robotic62 23:01, 16 September 2011 (UTC)
 * It will change the colours, I guess. Editing the light levels wouldn't make sense, since those are, of course, variable. Shellface 23:23, 16 September 2011 (UTC)

Incidentally, how exactly does minecraft pull a light color out of this image? I would guess for night it would use skylight as an x coordinate and blocklight as a y coordinate, but what about during the day? or in-between? This texture seems to replace the powers of 0.8 used by the earlier lighting system so it'd be nice to have some more detailed info. -- agrif 04:47, 25 September 2011 (UTC)

1.8 Bedrock effect?
Should a note be added describing the "water particle effect" that exists near bedrock level and impacts view distance? It seems to taper off at Y 15 or 16 and makes viewing things at a distance in the depths difficult. --68.226.132.85 00:57, 19 September 2011 (UTC)

I added a note about the lower visibility of torches at depth. If someone wanted to expand that with a more-detailed description of the new effect, that'd be great Mbessey 00:57, 24 September 2011 (UTC)

Data Values
According to the source code the values are not what it says in the article but instead the following:

0.0

0.017543858

0.037037037

0.058823526

0.08333333

0.11111113

0.14285712

0.1794872

0.22222225

0.2727273

0.33333334

0.40740743

0.50000006

0.61904764

0.77777773

1.0

Removal of Third Bug
The third bug listed says, "If turned off it will sometimes cause a bug where stairs will turn black. [This has been fixed as of Beta 1.9 Pre-Release 5]." I will remove this becasue if it was fixed more than two versions ago, what is the relevance of keeping this bug note.