You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to modify the current version of crt-geom.cg to get thinner scanlines as shown on Game Tech Wiki?
With CURVATURE = "0.0" and SHARPER = "2.0" I get regular scanlines like this. But the goal is this - a fine mesh which contributes to a nice blending without an excessive amount of blur.
I guess it's all about this line: <fragment filter="nearest" outscale_x="1" outscale_y="2">. Is it possible to set outscale_x and outscale_y attributes in Cg shader? @Themaister, any help here?
Here is the full quote from GTW:
To obtain thinner, 480p-esque scanlines, first tweak the shader to apply greater sharpness, but only apply it to the TextureSize. The code should look like this: uniform vec2 rubyTextureSize; vec2 TextureSize = vec2(2*rubyTextureSize.x, 2*rubyTextureSize.y);
Again, this is for both the vertex and fragment portions. Don't forget to seek out any other instances of rubyTextureSize, and replace them with simply TextureSize.
Now, go to the beginning of the fragment portion, and modify it as such: <fragment filter="nearest" outscale_x="1" outscale_y="2"><![CDATA[
This will only yield satisfactory results at 4x integer scale. Anything else will likely cause problems. It might also be wise to disable the phosphor emulation, as leaving it on produces a "grid"-like effect, which may or may not be desirable.
The text was updated successfully, but these errors were encountered:
Faberman
changed the title
CRT-Geom thinner scanlines
CRT-Geom with thinner scanlines
Jul 15, 2017
The way to do it is to add a first pass of the stock shader at 2x scale and then add crt-geom as a second pass. You'll want to disable the interlacing detection using the "CRTGeom Interlacing" option.
Is it possible to modify the current version of crt-geom.cg to get thinner scanlines as shown on Game Tech Wiki?
With CURVATURE = "0.0" and SHARPER = "2.0" I get regular scanlines like this. But the goal is this - a fine mesh which contributes to a nice blending without an excessive amount of blur.
I guess it's all about this line:
<fragment filter="nearest" outscale_x="1" outscale_y="2">
. Is it possible to set outscale_x and outscale_y attributes in Cg shader? @Themaister, any help here?Here is the full quote from GTW:
The text was updated successfully, but these errors were encountered: