mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-16 05:42:31 -05:00
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.
16 lines
421 B
GLSL
16 lines
421 B
GLSL
void main()
|
|
{
|
|
float4 to_gray = float4(0.3,0.59,0.11,0);
|
|
|
|
float x1 = dot(to_gray, SampleOffset(int2( 1, 1)));
|
|
float x0 = dot(to_gray, SampleOffset(int2(-1,-1)));
|
|
float x3 = dot(to_gray, SampleOffset(int2( 1,-1)));
|
|
float x2 = dot(to_gray, SampleOffset(int2(-1, 1)));
|
|
|
|
float edge = (x1 - x0) * (x1 - x0) + (x3 - x2) * (x3 - x2);
|
|
|
|
float4 color = Sample();
|
|
|
|
SetOutput(color - float4(edge, edge, edge, edge) * 12.0);
|
|
}
|