Hi! My first post in this amazing community
Similar to the objetive of PhosphorLUT or CRT-Royale, I want a shader that It can replicate the look of a high-res CRT monitor as the one I had.
However, I only a have basic level in programming so, in order to implement the 480p-esque scanlines of the original crt-geom shader by cgwg nowdays, I need someone who could help me to obtain the following configuration seem in http://emulation-general.wikia.com:
[B]//Configuration: 4x integer scale, CUSTOM aspect ratio, disable HW Bilinear Filtering
#define CRTgamma 2.2 //Raise Brightness #define monitorgamma 2.4 //Raise Brightness #define CURVATURE 0.0 //To make it flat #define cornersize 0.001 //To make it flat #definecornersmooth 2000.0 //To make it flat. Note: Max value is outdated in http://emulation-general.wikia.com
vec4 weights = vec4(distance / 0.35); //Raise Scanline Brightness
//480p scanlines
uniform vec2 rubyTextureSize;
//Add this line afterwards
vec2 TextureSize = vec2(2rubyTextureSize.x, 2rubyTextureSize.y);
//Ctrl+F, seek out “rubyTextureSize” and replace them with "TextureSize"
//Modify the beginning of the fragment portion as such:
<fragment filter=“nearest” outscale_x=“1” outscale_y=“2”><=!=[=C=D=A=T=A=[
//Disable phosphor
//vec3 dotMaskWeights = mix( //vec3(1.0, 0.7, 1.0), //vec3(0.7, 1.0, 0.7), //floor(mod(mod_factor, 2.0)) //);
//mul_res *= dotMaskWeights;[/B]
In particular, the part in which I should modify the texture variable seems to be too much convoluted for me seen the current version of crt-geom shader.
I have doubts about how to raise the scanline brightness too.
It’s been quite difficult for me to explain what I want to obtain.
Thanks in advance to anyone who can contribute