Skip to main content
6 events
when toggle format what by license comment
Apr 22, 2020 at 16:08 comment added Michael IV The above main() with function from sam's answer produce black holes on some images where brightness is set to 1. I changed the main() so that hue is modded and sat/brightness are clamped as suggested by Gustavo. Seem like it solved the problem.
Apr 12, 2020 at 12:28 comment added Michael IV Hi, do you convert also saturation and brightness values from {-100, 100} range?
Apr 13, 2017 at 12:18 history edited CommunityBot
replaced http://gamedev.stackexchange.com/ with https://gamedev.stackexchange.com/
Jan 27, 2014 at 9:57 comment added Gustavo Maciel tip: you probably want to mod() the hue, but saturation and brightness you may want to clamp() instead.
Jul 29, 2013 at 13:49 vote accept miviclin
Jul 29, 2013 at 3:15 history answered miviclin CC BY-SA 3.0