Welcome, Guest.
Username: Password: Remember me

TOPIC: Detect day/night and fit with different settings?

Detect day/night and fit with different settings? 1 year 2 months ago #1

I think effects will be more adjustable if reshade is able to detect day/night interior/exterior, and fit them with different settings, like color temperature, exposure, gamma etc. Cuz it always occurs to me that a preset works pretty good in day time but terrible in night, and I have to switch between different presets to make the game-playing effect friendly. :)
The administrator has disabled public write access.

Detect day/night and fit with different settings? 1 year 2 months ago #2

  • Ganossa
  • Ganossa's Avatar
  • Offline
  • 최정장군
  • Posts: 790
  • Thank you received: 838
It is not possible to generically access this kind of information. However, we are already able to calculate the average scene brightness, its just not yet made globally (to all shader) available. Its on the to-do list. ;)
The administrator has disabled public write access.

Detect day/night and fit with different settings? 1 year 2 months ago #3

Hmmm....How does ENBs detect the day/night/indoor/outdoor? Maybe some code in ENBs can be add to reshade B)
The administrator has disabled public write access.

Detect day/night and fit with different settings? 1 year 2 months ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
ls8062464 wrote:
Hmmm....How does ENBs detect the day/night/indoor/outdoor? Maybe some code in ENBs can be add to reshade B)
Every ENB is targeted to a specific game, so it is obvious that a lot more can be done (it doesn't have to detect anything, it simply knows where in memory the game stores information about day/night cycle and retrieves the data from there). ReShade is generic and supposed to work everywhere, making game specific features impossible. Not every game has a days, nights, indoors and outdoors after all =).
Cheers, crosire =)
Last Edit: 1 year 2 months ago by crosire.
The administrator has disabled public write access.

Detect day/night and fit with different settings? 1 year 2 months ago #5

Lesson got :)
The administrator has disabled public write access.

Detect day/night and fit with different settings? 1 year 2 months ago #6

  • ninjafada
  • ninjafada's Avatar
  • Offline
  • Posts: 38
  • Thank you received: 5
you can do a preset for day, and use a shader for the night like TONEMAP you change the key bind to toggle it when you want
The administrator has disabled public write access.

Detect day/night and fit with different settings? 1 year 2 months ago #7

or set a timer ;)
The administrator has disabled public write access.

Detect day/night and fit with different settings? 1 year 2 months ago #8

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 693
  • Thank you received: 772
What you request is this kind of stuff thst works in one scene but not in the other. You may be able to synchronize timer with ingame time but then what happens when you go sleep in GTA V for example or wait in Skyrim, then you mess it up. Before we implement something it has to work reliably under all possible circumstances. The only logical thing we can do is applying different code on different brightness levels which is the only reliable indicator for scene change, be it day/night or whatever.
The administrator has disabled public write access.