0% found this document useful (0 votes)
7 views

Effect

The document discusses settings for applying natural colors and sharpening effects to images using shaders. It defines values for white point adjustment, saturation levels, and sharpening presets and amounts.

Uploaded by

GOLF GAMING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Effect

The document discusses settings for applying natural colors and sharpening effects to images using shaders. It defines values for white point adjustment, saturation levels, and sharpening presets and amounts.

Uploaded by

GOLF GAMING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

// Natural Colors
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

// Chromatic adaptation: (makes all tones more neutral)


#define EADAPTATION

// The target white point (0-10, higher = more blue)


// If default is too blue, try 4, if it's too red, try 6
#define WHITEPOINT 5

// Saturation controls: (Uncomment the #define to enable them)


// 0 is grayscale, 1 is normal, higher values = more saturated
#define SATURATION 1.25

// Load the effect


#include "Data/shaders/naturalcolors.fxh"

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Sharpen
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

// Ultra high quality (sharper) preset


#define ESHARPENING
#define ESHARPENINGCOLOR
#define ENOISE
#define SamplingRange 0.5
#define SharpeningAmount 4.5
#define ScanLineRepeat 0.5

#include "Data/shaders/sharpen.fxh"

// Enable just AA
#define USE_ANTI_ALIASING 1
#define FXAA_QUALITY__PRESET 6
float fxaaQualitySubpix = 0.3885;
float fxaaQualityEdgeThreshold = 0.1315;
float fxaaQualityEdgeThresholdMin = 0.0545;

#include "Data\shaders\fxaa2.fxh"

You might also like