Notice how the selected rail chain signal looks darkened by the shadow falling across it, despite it ostensibly being a lighted object.
[Low priority][Graphical] Shadows darken "glowing" objects (eg rail signals)
Re: [Low priority][Graphical] Shadows darken "glowing" objects (eg rail signals)
Thanks for the report however that's just how it works when it's all just sprites: a lot of shadows are just gray transparent textures and when you render one over top of another it darkens it giving the shadow effect. There's no real light engine at play in the game - just sprites on sprites.
If you want to get ahold of me I'm almost always on Discord.
Re: [Low priority][Graphical] Shadows darken "glowing" objects (eg rail signals)
I know, but render layers are a thing, so you could ensure "glowing" objects come on top of shadows.Rseding91 wrote: βFri Sep 11, 2020 5:30 am Thanks for the report however that's just how it works when it's all just sprites: a lot of shadows are just gray transparent textures and when you render one over top of another it darkens it giving the shadow effect. There's no real light engine at play in the game - just sprites on sprites.
Re: [Low priority][Graphical] Shadows darken "glowing" objects (eg rail signals)
I think that for semi proper solution lights layer would need to be used to lighten shadows when they are rendered.Reika wrote: βSat Sep 12, 2020 9:20 amI know, but render layers are a thing, so you could ensure "glowing" objects come on top of shadows.Rseding91 wrote: βFri Sep 11, 2020 5:30 am Thanks for the report however that's just how it works when it's all just sprites: a lot of shadows are just gray transparent textures and when you render one over top of another it darkens it giving the shadow effect. There's no real light engine at play in the game - just sprites on sprites.
Applying light after shadow is placed will give visible dimming there.
Re: [Low priority][Graphical] Shadows darken "glowing" objects (eg rail signals)
This is about the sprite itself, not whatever light the entity emits.orzelek wrote: βSat Sep 12, 2020 11:30 amI think that for semi proper solution lights layer would need to be used to lighten shadows when they are rendered.Reika wrote: βSat Sep 12, 2020 9:20 amI know, but render layers are a thing, so you could ensure "glowing" objects come on top of shadows.Rseding91 wrote: βFri Sep 11, 2020 5:30 am Thanks for the report however that's just how it works when it's all just sprites: a lot of shadows are just gray transparent textures and when you render one over top of another it darkens it giving the shadow effect. There's no real light engine at play in the game - just sprites on sprites.
Applying light after shadow is placed will give visible dimming there.
Re: [Low priority][Graphical] Shadows darken "glowing" objects (eg rail signals)
I was hoping that when rendering shadows you have lightmap ready - so if rendering shadow of any entity it could be suppresed in places where there is a light on lightmap.Reika wrote: βSun Sep 13, 2020 4:09 amThis is about the sprite itself, not whatever light the entity emits.orzelek wrote: βSat Sep 12, 2020 11:30 amI think that for semi proper solution lights layer would need to be used to lighten shadows when they are rendered.Reika wrote: βSat Sep 12, 2020 9:20 amI know, but render layers are a thing, so you could ensure "glowing" objects come on top of shadows.Rseding91 wrote: βFri Sep 11, 2020 5:30 am Thanks for the report however that's just how it works when it's all just sprites: a lot of shadows are just gray transparent textures and when you render one over top of another it darkens it giving the shadow effect. There's no real light engine at play in the game - just sprites on sprites.
Applying light after shadow is placed will give visible dimming there.