Welcome to mirror list, hosted at ThFree Co, Russian Federation.

levels.psh « shaders « res « mplayerc « apps « src - github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aa4201f805c72cc4ddffe99e3980d4730a3cfa2f (plain)
1
2
3
4
5
6
7
8
9
10
11
sampler s0 : register(s0);

#define const_1 (16.0/255.0)
#define const_2 (255.0/219.0)

float4 main(float2 tex : TEXCOORD0) : COLOR {
	// original pixel
	float4 c0 = tex2D(s0,tex);

	return((c0 - const_1) * const_2);
}