|
楼主 |
发表于 2014-9-28 10:06:39
|
显示全部楼层
我只用了下面的两个功能
/*----------------------------------------------------------.
/ Levels settings /
'----------------------------------------------------------*/
#define Levels_black_point 18 // [0 to 255] The black point is the new black - literally. Everything darker than this will become completely black. Default is 16.0
#define Levels_white_point 241 // [0 to 255] The new white point. Everything brighter than this becomes completely white. Default is 235.0
//Colors between the two points will stretched, which increases contrast, but details above and below the points are lost (this is called clipping).
/*-----------------------------------------------------------.
/ Lift Gamma Gain settings /
'-----------------------------------------------------------*/
#define RGB_Lift float3(1.000, 1.000, 1.000) // [0.000 to 2.000] Adjust shadows for Red, Green and Blue.
#define RGB_Gamma float3(2.25, 2.25, 2.25) // [0.000 to 2.000] Adjust midtones for Red, Green and Blue
#define RGB_Gain float3(1.000, 1.000, 1.000) // [0.000 to 2.000] Adjust highlights for Red, Green and Blue |
|