Custom Colors: Maintain RGB Order in Options TXT File
jetblackrx89 opened this issue ยท 0 comments
Update: You can delete this. I don't think there's a good "fix".
I was importing a hard-coded color scheme from a version before custom colors existed and was getting thrown off by how RGB values get stored in the options txt file for the shader. The original request to was to offer a way to keep proper RGB order, but this isn't possible since the contents of the file will be ordered alphabetically each time a save occurs.
OMNI_TINT_CUSTOM=1.0
LIGHT_SUNSET_COLOR_R = 1.118528
LIGHT_SUNSET_COLOR_G = 0.860192
LIGHT_SUNSET_COLOR_B = 0.601392
LIGHT_DAY_COLOR_R = 1
LIGHT_DAY_COLOR_G = 1
LIGHT_DAY_COLOR_B = 1
LIGHT_NIGHT_COLOR_R = 0.04693014
LIGHT_NIGHT_COLOR_G = 0.0507353
LIGHT_NIGHT_COLOR_B = 0.05993107
ZENITH_SUNSET_COLOR_R = 0.1
ZENITH_SUNSET_COLOR_G = 0.258
ZENITH_SUNSET_COLOR_B = 0.6
ZENITH_DAY_COLOR_R = 0.1
ZENITH_DAY_COLOR_G = 0.258
ZENITH_DAY_COLOR_B = 0.6
ZENITH_NIGHT_COLOR_R = 0.003
ZENITH_NIGHT_COLOR_G = 0.010
ZENITH_NIGHT_COLOR_B = 0.02
HORIZON_SUNSET_COLOR_R = 1.183
HORIZON_SUNSET_COLOR_G = 1.058
HORIZON_SUNSET_COLOR_B = 1.011
HORIZON_DAY_COLOR_R = 1.200
HORIZON_DAY_COLOR_G = 1.400
HORIZON_DAY_COLOR_B = 1.6
HORIZON_NIGHT_COLOR_R = 0.035
HORIZON_NIGHT_COLOR_G = 0.04
HORIZON_NIGHT_COLOR_B = 0.05
WATER_COLOR_R = 0.160
WATER_COLOR_G = 0.240
WATER_COLOR_B = 0.400