New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add lighting overlay. #31260
Add lighting overlay. #31260
Conversation
- Refactor code around boolean for the overlays; make it easy to toggle an overlay.
This thing looks good even for the game itself, debug menu could only show numbers. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to lack of activity. This does not mean that we do not value the issue. Feel free to request that it be re-opened if you are going to actively work on it |
Summary
SUMMARY: Features "Add lighting overlay (debug menu)"
Purpose of change
Add lighting overlay for various lighting conditions.
Describe the solution
Goes from pure white (fully illuminated) to pure blue (complete dark):
display_toggle_overlay
) toggle the required overlay to on/off and all the others to off; the other function (display_overlay_state
) get the state of an overlay (on/off).Describe alternatives you've considered
N/A.
Additional context
I like heatmaps going from blue to red (aka “rainbow” scale) but according to some people (1, 2) they might be difficult to read due to how we perceive colors. I decided to switch from white to blue instead.