Weird lighting

The worst monsters in the Hearthlands warp the fabric of space and time...
User avatar
jordancoles
Posts: 14168
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Weird lighting

Post by jordancoles »

So I've made and lit several candelabrums and their lighting is not very consistent

Sometimes they give off light, sometimes they do not, and my position in relation to them seems to matter quite a bit



Also, what is interesting is that my torch in-hand reached 0% fuel, and the light dimmed, but I was still able to light the candelabrums and see the light animation in my hand, so it could have something to do with that as well

Edit: Snuffed out and then relit them with a 100% torch, still no light affect and occasionally when putting the torch back on I get no light either
All lighting settings are set to default
Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:
Check out my pro-tips thread
Image Image Image
User avatar
jordancoles
Posts: 14168
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: Weird lighting

Post by jordancoles »

No light

Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:
Check out my pro-tips thread
Image Image Image
User avatar
jordancoles
Posts: 14168
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: Weird lighting

Post by jordancoles »

No light from the 99% fuel torch

Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:
Check out my pro-tips thread
Image Image Image
User avatar
jordancoles
Posts: 14168
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: Weird lighting

Post by jordancoles »

Moving around the base sometimes determines if the light works or not?
Changing elevations?

Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:
Check out my pro-tips thread
Image Image Image
User avatar
jordancoles
Posts: 14168
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: Weird lighting

Post by jordancoles »

It seems to be directly related to the other fires/kiln burning in the area, like only one lightsource can be on screen/working at a time or something ..


Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:
Check out my pro-tips thread
Image Image Image
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Weird lighting

Post by loftar »

It's probably the fact that the shader code only supports four light sources on the screen at one time (including the global light). Therefore, some light sources entering or exiting the rendering range may override others.

It is quite regrettable, but I have no good solution.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
jordancoles
Posts: 14168
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: Weird lighting

Post by jordancoles »

loftar wrote:It's probably the fact that the shader code only supports four light sources on the screen at one time (including the global light). Therefore, some light sources entering or exiting the rendering range may override others.

It is quite regrettable, but I have no good solution.
:(
Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:
Check out my pro-tips thread
Image Image Image
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Weird lighting

Post by loftar »

I know, I share that sadface, especially as Haven is particularly well-suited for taking advantage of many light-sources. I've even contemplated implementing deferred rendering just for it, but that technique is certainly not without its drawbacks.

Ideally, I guess the max number of light-sources should be configurable, but making it thus is non-trivial, and it still doesn't really seem to solve the general problem. I'm still not sure what to make of it.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
jordancoles
Posts: 14168
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: Weird lighting

Post by jordancoles »

That is a real shame, the lighting adds tons of immersion to the game
Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:
Check out my pro-tips thread
Image Image Image

Return to “Bugs”