libretro / common-shaders

Collection of commonly used Cg shaders. These shaders are usable by either HLSL and/or Cg runtime compilers. The cg2glsl script will translate most of these into GLSL shaders.
http://www.libretro.com
1.05k stars 250 forks source link

Add Game Boy palette shader #139

Closed Monroe88 closed 6 years ago

Monroe88 commented 6 years ago

This is based on the shader that SigmaVirus posted on the libretro forums. (https://forums.libretro.com/t/game-boy-palette-color-changer-shader/14080)

I removed extraneous code that was in the original (and the motion blur stuff) and brought it to the current standards using the LUT shader as a base.

I have also ported the shader to GLSL and Slang specs.