Page 1 of 1

[0.12.22] Overlapping tree shadows

Posted: Thu Jan 28, 2016 9:56 pm
by Zeblote
Many trees standing close together get a dark shadow like this:

Image

Could trees use the same shadow masking system that was also used for the tank turret?

Re: [0.12.22] Overlapping tree shadows

Posted: Fri Jan 29, 2016 12:57 pm
by ssilk
It's the same as with logistic bots...

Re: [0.12.22] Overlapping tree shadows

Posted: Fri Feb 05, 2016 1:35 pm
by kovarex
I actually believe, that this is quite nice, I'm moving it to not a bug.

Re: [0.12.22] Overlapping tree shadows

Posted: Mon Feb 08, 2016 3:59 pm
by Rseding91
This also isn't a bug :) that's how shadows work in the real world as well: the more shadows overlap a given area the darker that area is.

Re: [0.12.22] Overlapping tree shadows

Posted: Mon Feb 08, 2016 4:16 pm
by Loewchen
Rseding91 wrote:[...]the more shadows overlap a given area the darker that area is.
I object to that, the only way shadows "add up" is when at least one object is not completely opaque (which does not apply here), if you have more than one light source or the size of the source is in the same range as its distance (which does not apply either). :geek:
But I'm still fine with not fixing this bug. ;)

Re: [0.12.22] Overlapping tree shadows

Posted: Mon Feb 08, 2016 4:21 pm
by Zeblote
Rseding91 wrote:This also isn't a bug :) that's how shadows work in the real world as well: the more shadows overlap a given area the darker that area is.
Where have you seen flying bots overlapping each other in the real world?? :D

Re: [0.12.22] Overlapping tree shadows

Posted: Mon Feb 08, 2016 6:33 pm
by orzelek
In short:
Each tree behaves as shadowed by different light source.

If thats a bug or not.. hard to tell. Considering only one (assumption) light source present it's a bit strange. Shadow mask would be nice depending on how difficult it's to get in Factorio engine.

Re: [0.12.22] Overlapping tree shadows

Posted: Mon Feb 08, 2016 6:56 pm
by Zeblote
orzelek wrote:Shadow mask would be nice depending on how difficult it's to get in Factorio engine.
It's already there, tank turret uses it. There was a post on the friday facts about it.

The question is probably more how efficient it is?