Page 1 of 1

Palette Texture [Help]

Posted: 26 Feb 2013, 10:14
by SAM609
Hi guys !
I have a question about Palette texture . In the palettes description on main website , it say "Colors from top to bottom represent screen brightness, upper means that overal game screen brightness is black (0) and bottom of the palette texture means that screen is white". so is it from ScreenLevelNight to ScreenLevelDay or from 0 to 100 percent brightness ??!

Re: Palette Texture [Help]

Posted: 26 Feb 2013, 10:33
by mindflux
It literally means screen brightness like it says, it has nothing to do with ScreenLevelDay or ScreenLevelNight.

Re: Palette Texture [Help]

Posted: 26 Feb 2013, 11:29
by SAM609
Thank you mate ! ;)

Re: Palette Texture [Help]

Posted: 26 Feb 2013, 13:43
by SAM609
I have another question now ! which formula I should use to determine the screen brightness ??!
this one that is in documentation : "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"
Or
this one : (0.299*R + 0.587*G + 0.114*B) ???

P.S: second one seems more logical to me !

Re: Palette Texture [Help]

Posted: 26 Feb 2013, 14:01
by ENBSeries
For ldr use middle of summ or max of each, your math is only for hdr images

Re: Palette Texture [Help]

Posted: 26 Feb 2013, 19:48
by SAM609
OK ! thanks !!