mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
32fe37d834
Removes the README.txt file in favour of a new wiki page I'm going to generate.
78 lines
1.1 KiB
GLSL
78 lines
1.1 KiB
GLSL
void main()
|
|
{
|
|
float4 c0 = Sample();
|
|
float red = c0.r;
|
|
float blue = c0.b;
|
|
float green = c0.g;
|
|
float factor = 2.0;
|
|
float max = 0.8;
|
|
float min = 0.3;
|
|
|
|
if (c0.r > c0.g && c0.b > c0.g)
|
|
{
|
|
if (c0.r < c0.b + 0.05 && c0.b < c0.r + 0.05)
|
|
{
|
|
red = 0.7;
|
|
blue = 0.7;
|
|
green = 0.05;
|
|
}
|
|
else if (c0.r > c0.b + 0.05)
|
|
{
|
|
red = 0.7;
|
|
blue = 0.05;
|
|
green = 0.05;
|
|
}
|
|
else if (c0.b > c0.r + 0.05)
|
|
{
|
|
red = 0.05;
|
|
blue = 0.7;
|
|
green = 0.05;
|
|
}
|
|
}
|
|
|
|
if (c0.r > c0.b && c0.g > c0.b)
|
|
{
|
|
if (c0.r < c0.g + 0.05 && c0.g < c0.r + 0.05)
|
|
{
|
|
red = 0.7;
|
|
blue = 0.05;
|
|
green = 0.7;
|
|
}
|
|
else if (c0.r > c0.g + 0.05)
|
|
{
|
|
red = 0.7;
|
|
blue = 0.05;
|
|
green = 0.05;
|
|
}
|
|
else if (c0.g > c0.r + 0.05)
|
|
{
|
|
red = 0.05;
|
|
blue = 0.05;
|
|
green = 0.7;
|
|
}
|
|
}
|
|
|
|
if (c0.g > c0.r && c0.b > c0.r)
|
|
{
|
|
if (c0.g < c0.b + 0.05 && c0.b < c0.g + 0.05)
|
|
{
|
|
red = 0.05;
|
|
blue = 0.7;
|
|
green = 0.7;
|
|
}
|
|
else if (c0.g > c0.b + 0.05)
|
|
{
|
|
red = 0.05;
|
|
blue = 0.05;
|
|
green = 0.7;
|
|
}
|
|
else if (c0.b > c0.g + 0.05)
|
|
{
|
|
red = 0.05;
|
|
blue = 0.7;
|
|
green = 0.05;
|
|
}
|
|
}
|
|
SetOutput(float4(red, green, blue, c0.a));
|
|
}
|