Skip to content

Night Vision - Add scotopic effects to normal vision when dark#7965

Draft
PabstMirror wants to merge 5 commits intomasterfrom
coldHeartedOrb
Draft

Night Vision - Add scotopic effects to normal vision when dark#7965
PabstMirror wants to merge 5 commits intomasterfrom
coldHeartedOrb

Conversation

@PabstMirror
Copy link
Contributor

@PabstMirror PabstMirror commented Oct 21, 2020

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 getLighting commands 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

@dslyecxi
Copy link

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:
http://graphics.stanford.edu/papers/gazehdr/gazehdr.pdf

@jonpas
Copy link
Member

jonpas commented Sep 11, 2023

@PabstMirror status on this?

@Mike-MF
Copy link
Member

Mike-MF commented Sep 22, 2023

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.)

@BrettMayson BrettMayson changed the title WIP: Night Vision - Add scotopic effects to normal vision when dark Night Vision - Add scotopic effects to normal vision when dark Oct 16, 2023
@BrettMayson BrettMayson marked this pull request as draft October 16, 2023 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants