[DiscordArchive] <@160857905879449600> why does it need to be 2 though ?
[DiscordArchive] <@160857905879449600> why does it need to be 2 though ?
Archived author: Skarn • Posted: 2019-05-18T14:50:42.928000+00:00
Original source
the default value is 0x7F
Archived author: Adspartan • Posted: 2019-05-18T14:50:45.713000+00:00
Original source
I know, but I just said it wasn't the case
Archived author: Adspartan • Posted: 2019-05-18T14:50:53.958000+00:00
Original source
hence the issue
Archived author: Skarn • Posted: 2019-05-18T14:50:58.515000+00:00
Original source
0x7F // 0x7F == 1
Archived author: Skarn • Posted: 2019-05-18T14:51:13.492000+00:00
Original source
which means tex_color * 1 == tex_color
Archived author: Skarn • Posted: 2019-05-18T14:51:35.634000+00:00
Original source
so white color needs to be 2.0, 2.0, 20 to make everything twice brighter
Archived author: Adspartan • Posted: 2019-05-18T14:51:56.600000+00:00
Original source
the issue is how do you decide when the color should be above 1.0 or below ?
Archived author: Adspartan • Posted: 2019-05-18T14:52:08.183000+00:00
Original source
also it has to be changed in the shader then
Archived author: Skarn • Posted: 2019-05-18T14:52:39.465000+00:00
Original source
you don't decide anything. just divide the int value of the color by 0x7F prior to multiplying over a texture color
Archived author: Adspartan • Posted: 2019-05-18T14:52:46.466000+00:00
Original source
-_-