sanitation@lemmy.today to Programming@programming.dev · 2 days agoShould you normalize RGB values by 255 or 256?30fps.netexternal-linkmessage-square18fedilinkarrow-up143arrow-down11
arrow-up142arrow-down1external-linkShould you normalize RGB values by 255 or 256?30fps.netsanitation@lemmy.today to Programming@programming.dev · 2 days agomessage-square18fedilink
minus-squareSolemarc@lemmy.worldlinkfedilinkarrow-up32arrow-down1·edit-22 days agoMy opinion on this will always be that there are only 2 valid answers; 0-255 or 0-1 Either a u8 or a float.
minus-squareferret@sh.itjust.workslinkfedilinkEnglisharrow-up10·2 days agoI thought the same thing too, but the article doesn’t disagree. Article is actually about converting between the two. It’s an interesting read, I encourage it.
My opinion on this will always be that there are only 2 valid answers;
0-255 or 0-1
Either a u8 or a float.
I thought the same thing too, but the article doesn’t disagree. Article is actually about converting between the two. It’s an interesting read, I encourage it.