Changes

Jump to navigation Jump to search

CRT Geom

110 bytes added, 23:26, 17 October 2021
m
Cleaning
[[File:Retroarch_2013-07-22_17-21-17-60.png|thumb|298px|CRT-Geom-Flat, with default settings]]
One of the more '''CRT-Geom''' is a popular CRT shadersshader created by cgwg.
==Download==
*[https://github.com/libretro/common-shaders/blob/master/crt/shaders/crt-geom.cg crt-geom.cg]
*[https://gist.github.com/anonymous/dda125d65ded3fe9ed955800666eacf9 crt-geom-flat.cg]
*[https://github.com/libretro/common-shaders/blob/master/crt/crt-geom-flat.cg CRT Geom flag.cg]
 
*[https://github.com/libretro/common-shaders/tree/master/crt/crt-interlaced-halation]
 
*[https://github.com/libretro/common-shaders/blob/master/crt/crt-geom-flat-sharpness.cg]
==Versions==
===Standard===
===Halation===
 
A multipass version with a "halation" effect that replicates the bloom of a CRT TV.
==Tweaking CRT Geom==
CRT Geom is highly customizable. You can open up the .cg file in [http://notepad-plus-plus.org/ Notepad++] and edit it. Regular notepad will work, but Notepad++ is recommended.
CRT Geom is highly customizable. You Shader parameters can open up CRT Geom in be changed by editing the first value of the parameter at the beginning of the file, or through [[http://notepad-plus-plus.org/ notepad++RetroArch]] and edit it. Regular notepad will work, but notepad++ is recommended's shader menu
[[File:Retroarch_2013-07-22_17-22-39-87.png|thumb|225px|CRT-Geom-Flat, with brighter scanlines]]
===Sharpness===
'''old xml XML shader format only'''
[[File:Retroarch_2013-07-22_19-24-11-41.png|thumb|225px|CRT-Geom-Flat, at 2x sharpness]]If you find the shader looks too blurry, you can increase the sharpness by going to the sections in the code that have the following lines (should be at the beginning of both the vertex and fragment portions of the shader code):
uniform vec2 rubyInputSize;
===Curvature===
'''old xml shader format only'''
To make it flat, just set cornersize corner size (line 107) to 0.001 and cornersmooth corner smooth (line 110) to 8000.0. Then, comment out (i.e., put two slashes in front of it, like this: // ) line 141, #define CURVATURE.
//#Define CURVATURE
===Interlacing===
 
For the original, to disable interlacing, comment it out:
mul_res += pow(tex2D(decal, xy2).rgb, float3(monitorgamma))*0.1;
Lowering the last number reduces the effect of the halation. This is prefered preferred since the default halation level is too high. 
[[Category:FAQs]]
[[Category:Shaders/Filters]]
2,527
edits

Navigation menu