Peter,这里的 Flame Painter 程序员。
Flame Painter 中的变亮模式类似于 Photoshop ADD 混合模式,我在所有 RGB 通道中添加少量颜色。
示例(伪代码):
color: C = (50, 20, 10) // RGB channels = 50, 20, 10
lighter color: C = C + C // RGB channels = 100, 40, 20
lighter color: C = C + C // RGB channels = 150, 60, 30
...
添加颜色直到颜色C变成白色。(255, 255, 255)
如果颜色是纯红色、蓝色、绿色、紫色、黄色或洋红色,则此方法不起作用。红色示例:
color: C = (50, 0, 0) // RGB channels = 50, 0, 0
lighter color: C = C + C // RGB channels = 100, 0, 0
lighter color: C = C + C // RGB channels = 150, 0, 0
...
最亮的颜色将是红色。(255, 0, 0)
这就是为什么我在默认颜色为 0 的通道中添加少量(1 种颜料)。示例:
color: C = (50, 1, 1) // RGB channels = 50, 1, 1
lighter color: C = C + C // RGB channels = 100, 2, 2
lighter color: C = C + C // RGB channels = 150, 3, 3
...
最亮的颜色将再次变为白色。(255, 255, 255)