mirror of
https://github.com/libretro/dolphin
synced 2024-09-19 12:05:10 -04:00
262c3b19ec
There are lots of different anaglyph glasses out there and there may be even more creative uses for stereoscopic post-processing shaders.
9 lines
163 B
GLSL
9 lines
163 B
GLSL
// Anaglyph Red-Cyan shader without compensation
|
|
|
|
void main()
|
|
{
|
|
float4 c0 = SampleLayer(0);
|
|
float4 c1 = SampleLayer(1);
|
|
SetOutput(float4(c0.r, c1.gb, c0.a));
|
|
}
|