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.03k stars 250 forks source link

Couldn't disable scanline of crt-geom.cg #157

Open Oend opened 4 years ago

Oend commented 4 years ago

For crt-geom.cg of cg shader, I liked curvation and rounded corners, but didn't want scanlines to change image textures, so I wanted to disable scanlines, but commented "#define INTERLACED" changed nothing, and if I commented "#pragma parameter" I got a difference (shaking blur or something) but still not what I want, I edited much much much and searched much much much but always not worked...so I came here... Actually for crt-pi of glsl shader, those comment switchers worked fine, but it had no rounded corners, and curvature was different (this maybe I could change but I have no idea to add rounded corners) Came here for some help, will be appreciated.....

Oend commented 4 years ago

And scanlines would be very clear on gray gameboy games, that's the start-time I had to disable it.