mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
Reorganized 6 branches into bios/Manufacturer/Console/. Scrapers for RetroArch, Batocera, Recalbox, and libretro core-info. Platform-aware verification replicating native logic per platform. Pack generation with dedup, alias resolution, variant support. CI/CD: weekly auto-scrape, auto-release, PR validation. Large files (>50MB) stored as GitHub Release assets, auto-fetched at build time.
13 lines
378 B
GLSL
13 lines
378 B
GLSL
// Anaglyph Red-Cyan luma grayscale shader
|
|
// Info: https://web.archive.org/web/20040101053504/http://www.oreillynet.com:80/cs/user/view/cs_msg/8691
|
|
|
|
void main()
|
|
{
|
|
float3 luma = float3(0.222, 0.707, 0.071);
|
|
float4 c0 = SampleLayer(0);
|
|
float avg0 = dot(c0.rgb, luma);
|
|
float4 c1 = SampleLayer(1);
|
|
float avg1 = dot(c1.rgb, luma);
|
|
SetOutput(float4(avg0, avg1, avg1, c0.a));
|
|
}
|