dolphin/swap_RGB_GBR.txt
MofoMan2000 f8c01efece Rename color_swap_1 to swap_rgb_gbr because that's what it does.
Rename sunset to swap_rgb_bgr because that's what IT does
Rename sunset2 to sunset since we no longer have two sunsets
Add the rest of the RGB swap permutations.

This clearly labels all the simple color swapping shaders and puts them in an easy-to-find place.Rename color_swap_1 to swap_rgb_gbr because that's what it does.
Rename sunset to swap_rgb_bgr because that's what IT does
Rename sunset2 to sunset since we no longer have two sunsets
Add the rest of the RGB swap permutations.

This clearly labels all the simple color swapping shaders and puts them in an easy-to-find place. I hope this was all the color swap shaders, if not it can be corrected easily.

Also added small documentation to sepia.
2010-10-23 22:19:23 +00:00

7 lines
No EOL
198 B
Text

uniform samplerRECT samp0 : register(s0);
void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0)
{
float4 c0 = texRECT(samp0, uv0).rgba;
ocol0 = float4(c0.g, c0.b, c0.r, c0.a);
}