mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-20 07:42:35 -05:00
bb307aa250
dolphin-emu/Sys/ folder (2562 files) from libretro/dolphin Data/Sys. retroarch.yml: DSP firmware (dsp_coef.bin, dsp_rom.bin), fonts (font_western.bin, font_japanese.bin) at dolphin-emu/Sys/GC/ paths. ref: DolphinLibretro/Boot.cpp:72-73, HW/DSPLLE/DSPHost.cpp, HW/EXI/EXI_DeviceIPL.cpp. pack: 452 files, 0 missing.
11 lines
241 B
GLSL
11 lines
241 B
GLSL
// Anaglyph Red-Cyan grayscale shader
|
|
|
|
void main()
|
|
{
|
|
float4 c0 = SampleLayer(0);
|
|
float avg0 = (c0.r + c0.g + c0.b) / 3.0;
|
|
float4 c1 = SampleLayer(1);
|
|
float avg1 = (c1.r + c1.g + c1.b) / 3.0;
|
|
SetOutput(float4(avg0, avg1, avg1, c0.a));
|
|
}
|