filters.rc
来自「gameboy 模拟器的源代码」· RC 代码 · 共 44 行
RC
44 行
## Explanation of the filters:# # If, for example, red is set to "a b c d",# where a, b, c, and d are four numbers,# then the output red value for a given input# color will be computed as follows:## output_red = ( a * input_red +# b * input_green +# c * input_blue ) / 256 + d## So, a, b, and c are scale factors# (out of 256) for how much weight the input# red, green, and blue components have in the# output color, and d is a constant base# value for the output.## Below are some sample filters, which should# make everything more clear.## Default filter as of 1.0.3set red 195 25 0 35set green 25 170 25 35set blue 25 60 125 40# Do-nothing filerset red 256 0 0 0set green 0 256 0 0set blue 0 0 256 0# Lighten the display uniformlyset red 128 0 0 128set green 0 128 0 128set blue 0 0 128 128# Grayscaleset red 85 85 85 0set green 85 85 85 0set blue 85 85 85 0
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?