Editing CRT Geom

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 29: Line 29:
  
 
===Sharpness===
 
===Sharpness===
'''old XML shader format only'''
+
'''old 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):
 
[[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;
 
  uniform vec2 rubyInputSize;
Line 55: Line 55:
 
'''old xml shader format only'''
 
'''old xml shader format only'''
  
To make it flat, just set corner size (line 107) to 0.001 and 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.
+
To make it flat, just set cornersize (line 107) to 0.001 and cornersmooth (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
 
  //#Define CURVATURE
Line 73: Line 73:
 
  mul_res += pow(tex2D(decal, xy2).rgb, float3(monitorgamma))*0.1;
 
  mul_res += pow(tex2D(decal, xy2).rgb, float3(monitorgamma))*0.1;
  
Lowering the last number reduces the effect of the halation. This is preferred since the default halation level is too high.
+
Lowering the last number reduces the effect of the halation. This is prefered since the default halation level is too high.
  
 
[[Category:FAQs]]
 
[[Category:FAQs]]
 
[[Category:Shaders/Filters]]
 
[[Category:Shaders/Filters]]

Please note that all contributions to Emulation General Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Emulation General Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)