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.
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.....
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.....