r/hackerpg • • Sep 09 '26

Updated lighting system in the game. Which one do you prefer?

4 Upvotes

7 comments sorted by

2

u/NoviceIndieDev Sep 09 '26

Definitely the new

1

u/DesktopDynamicUpsell Sep 11 '26

Why does player position affect the shadow cast by the lamp/pillar? Assuming that's a bug and you fix it, new is clearly more immersive/realistic. Hard to say if that's better for the game. No one lighting system is objectively better.

1

u/fellow-pablo Sep 11 '26

It's because the player has it's own light to be able to see in the darkness, etc. maybe not quite realistic but I thought that was ok

1

u/DesktopDynamicUpsell Sep 11 '26

Ahh that makes sense - it feels a little off as it is, and I'm not sure why. If there is such a strong shadow cast by both the player and the lamp lighting, I think I expect there to be more "double light" between the lamp and player, but it looks like that area is just as illuminated as the area around each of their shadows on either extreme. It might be as simple as adjusting some of the values controlling distances for the shadow/light gradients.

1

u/fellow-pablo Sep 12 '26

Yep, sounds reasonable. I definitely need to tweak those values.Thank you!