Blockland Forums > Help
Dim Lights fail to produce light.
<< < (2/2)
Rykuta:

--- Quote from: SWAT One on September 25, 2012, 04:37:42 AM ---It is.  It's just VERY dim.  Are you using a light patch?

--- End quote ---
I do not have any add-ons that alter light functionality.
Rykuta:
After looking at the dim light code in question and comparing it to the default lights, I noticed only one difference.

--- Code: --- radius = 2;
brightness = 2;
--- End code ---
This is the Dim light's data. It produced no visible light in-game.

It appears the problem may be related to a potential lower bound for light emitted:

I changed the value to half of the default light's radius and brightness, and got a noticeable result.
I divided these numbers by two once again, and got a smaller light, but a light none the less.

Badspot should explain this result to me, or someone with similar knowledge.
Badspot:
Under shaders, the "radius" field of the light datablock is actually used.  You will need to adjust it.
Navigation
Message Index
Previous page

Go to full version