warzone2100
warzone2100 copied to clipboard
Tweak fire effect pointlight
Tweak fire effect pointlight:
- Raise it above the input position (i.e. above ground) and increase the range so it better casts light.
Issues:
This change makes it easy to reproduce an apparent issue with point lights (possibly related to the near plane and the various calculations?) @vlj
Video example: https://github.com/Warzone2100/warzone2100/assets/30942300/d44ddc4b-f94a-4c31-a813-f96b3c4f3bd8
Here's a save game that should let you reproduce this. Sk-Rush-fire-lights.zip
Steps to reproduce are:
- Ensure point lights are on in Graphics settings
- Load the
Sk-Rush-fire-lightsskirmish save game - Zoom in on the cluster of walls surrounding the oil derrick (where all the cyborgs are attacking), and potentially rotate to match the video example
- The closer you zoom, the more readily you'll be able to see the "dividing line" where pointlights aren't having the expected impact (seems to be for things that are closer to the camera - if enabling debug mode, which lets you zoom in even more, you can see how big an impact this can be)
mb it's those bug/glitch of camera's near far/end values?
Largely resolved by #3784