Palette Texture [Help]

Post Reply
  • Author
  • Message
Offline
Posts: 17
Joined: 22 Feb 2013, 15:49

Palette Texture [Help]

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 ??!

Offline
User avatar
*blah-blah-blah maniac*
Posts: 3137
Joined: 27 Jan 2012, 13:42

Re: Palette Texture [Help]

It literally means screen brightness like it says, it has nothing to do with ScreenLevelDay or ScreenLevelNight.

Offline
Posts: 17
Joined: 22 Feb 2013, 15:49

Re: Palette Texture [Help]

Thank you mate ! ;)

Offline
Posts: 17
Joined: 22 Feb 2013, 15:49

Re: Palette Texture [Help]

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 !

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

Re: Palette Texture [Help]

For ldr use middle of summ or max of each, your math is only for hdr images
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
Posts: 17
Joined: 22 Feb 2013, 15:49

Re: Palette Texture [Help]

OK ! thanks !!
Post Reply