Night Vision - Add scotopic effects to normal vision when dark#7965
Draft
PabstMirror wants to merge 5 commits intomasterfrom
Draft
Night Vision - Add scotopic effects to normal vision when dark#7965PabstMirror wants to merge 5 commits intomasterfrom
PabstMirror wants to merge 5 commits intomasterfrom
Conversation
jokoho48
reviewed
Oct 22, 2020
|
In case you haven't already found this, it's a neat read on this and other vision aspects in low light. You may need to download and open it in Adobe Reader to be able to watch the blue-highlighted sections: |
Member
|
@PabstMirror status on this? |
Member
|
This is actually a really cool feature, I don't know what's left to implement but from testing it I like it. (It has a nice nifty F key toggle atm.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As it gets darker human vision switches from cones to rods,
losing the ability to see specific colors ("black and white vision")
as well as having a different luminosity function (rods are much less sensitive to red light)
This uses the new
getLightingcommands with a color correction to approximate this effect.It should be somewhat similar to Arma2's night lighting.
Also thanks to dslyecxi for providing the idea for this back when we integrated ST night vision effects