Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Here, tonemap and vibrance function quite similar: adjust color saturation
- // Sepia is the main brute that applies the color change
- // The rest of settings are set to default or turned off
- // Effects
- #define USE_TONEMAP 1
- #define USE_VIBRANCE 1
- #define USE_SEPIA 1
- // Tonemap
- #define Gamma 0.89 //Default: 1.000, [0.000 to 2.000]
- #define Saturation 0.1 //Default: 0.000, [-1.000 to 1.000]
- // Vibrance
- #define Vibrance 0.8 //Default: 0.15, [-1.00 to 1.00]
- // Sepia
- #define ColorTone float3(1.4, 1.05, 0.90) //Default: float3(1.40, 1.10, 0.90), [0.00 to 2.55] each
- #define GreyPower 0.11 //Default: 0.11, [0.00 to 1.00]
- #define SepiaPower 0.4 //Default: 0.58, [0.00 to 1.00]
Advertisement
Add Comment
Please, Sign In to add comment