I messed up my .ini, getting shadows where no should be

solving problems with low performance
  • Author
  • Message
Offline
*sensei*
Posts: 288
Joined: 24 Mar 2012, 16:21

Re: I messed up my .ini, getting shadows where no should be

ENBSeries wrote:Only few required when palette enabled (screen level day, screen level night), for all other cases they are all used.
What does ScreenLevelDay and ScreenLevelNight do? I read old docu, they determine when it is day and when it is night. But for what is that used? And what is with the time between: twilight and dawn? Are they defined by a gap in the values, for example ScreenLevelNight=20, ScreenLevelDay=60, all between 20 and 60 is dawn/twilight? Or how does it work?
Last edited by CosmicBlue on 13 Apr 2012, 07:07, edited 1 time in total.

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17551
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: I messed up my .ini, getting shadows where no should be

There are no twilight and dawn, values simply interpolated from night to day values and these night and day are just names for variables of average screen brightness in percent.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
*sensei*
Posts: 288
Joined: 24 Mar 2012, 16:21

Re: I messed up my .ini, getting shadows where no should be

ENBSeries wrote:and these night and day are just names for variables of average screen brightness in percent.
Okay, but what are they good for? They don't set the brightness, they determine when it is day and when it is night. Okay, so far. But what for? Do you need these infos for all other day/night entries?

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17551
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: I messed up my .ini, getting shadows where no should be

The question is incorrect, seems you don't understand meaning of these vars at all, nonsence to describe.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
*sensei*
Posts: 288
Joined: 24 Mar 2012, 16:21

Re: I messed up my .ini, getting shadows where no should be

You are the mind behind this, sure you understand it.
All I know is this:
ScreenLevelDay=(0..100) level of screen brightness in percents, that determined as day time. It's easy to compute brightness in any image editing software by blurring game screenshots. For example, Adobe Photoshop in filters have Blur->Average, it produce RGB color of screen brightness, now choose one from R, G, B components that have highest value (info panel, minimal 0, maximal 255 for 8 bit per channel images), divide it by 256 and multiply by 100, result will be screen brightness in percents. If screen brightness in the game higher than this parameter, it will be day time any way, for lower value, all brightness dependent parameters will be interpolated between night and day presets.
Now, my english might not be the best, but as far as I understand it, you take the actual picture on screen (frame) and compute its brightness. Right?
Lets say, the result is 50%.
Now if I set ScreenLevelDay to 50 or less, its determend as to be bright enough to be day.
If I set it to 51 or higher, the actual frame is to dark to be day.
Now you mod knows, if it's day or not, leading to use day-entries, like DirectLigthingIntensityDay or DirectLigthingCurveDay...or not.
Not? As I said some posts before, documentation is boring, but for this entry, you don't really give informations, what it does...just more like how anyone can do this himself.
So, sorry, if I'm wrong. How should or could I know any better? I'm not the mind behind this great work and I can't read your mind.

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17551
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: I messed up my .ini, getting shadows where no should be

Now, my english might not be the best, but as far as I understand it, you take the actual picture on screen (frame) and compute its brightness. Right?
Lets say, the result is 50%.
Now if I set ScreenLevelDay to 50 or less, its determend as to be bright enough to be day.
I replied already the same. Yes, this is true.
If I set it to 51 or higher, the actual frame is to dark to be day.
No, it's still almost as day, because 50 and 51 are not big difference (unless you set ScreenLevelNight near 50).
Now you mod knows, if it's day or not, leading to use day-entries, like DirectLigthingIntensityDay or DirectLigthingCurveDay...or not.
No. Values are interpolated, i said that already. For example, if ScreenLevelNight=20 and ScreenLevelDay=60, but screen average brightness is 40, then middle interpolated between DirectLigthingIntensityDay and DirectLigthingCurveDay taken.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
*sensei*
Posts: 288
Joined: 24 Mar 2012, 16:21

Re: I messed up my .ini, getting shadows where no should be

Okay, sorry, then I totally misunderstood you. :oops:
But now I got it. I think at least. :lol:
Okay, now I play the game, take two screenshots, one when its bright enough for me to be day, one when its dark enough for me to be night, compute their brightness and set these values.
Yeah, that's great, even greater than I though.
Thanks for your patience. And your hard work.
Post Reply