Author Topic: Dim Lights fail to produce light.  (Read 857 times)

Hopefully the title of the topic speaks for itself.

First screenshot shows a regular Bulb light.
The second shows the dimmed version of this light. Notice how no lighting is produced from the light in question.

Is anyone else experiencing this issue, and if so, has anyone located the cause? Because I'm stumped.

perhaps the light is too far away from the ground? have you tested the dim light lower to the ground or closer to a wall? it may be because the light radius doesn't reach that far

perhaps the light is too far away from the ground? have you tested the dim light lower to the ground or closer to a wall? it may be because the light radius doesn't reach that far
If that was the case, the light would be producing said light on the cieling or sides of the hall, it is producing zero light.

well in the first picture it doesn't appear to be producing any light on the roof

It is.  It's just VERY dim.  Are you using a light patch?

It is.  It's just VERY dim.  Are you using a light patch?
I do not have any add-ons that alter light functionality.

After looking at the dim light code in question and comparing it to the default lights, I noticed only one difference.
Code: [Select]
radius = 2;
brightness = 2;
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

  • Administrator
Under shaders, the "radius" field of the light datablock is actually used.  You will need to adjust it.