Add crt-consumer and crt-cyclon. Update others. (#3223)

- Add crt-consumer.glsl;
- Add crt-cyclon.fx and its bezel.png texture;
- Fix crt-newpixie.fx Frame adjust to game's aspect ratio;
- Update others shaders to the new functions to get uniform values.
This commit is contained in:
Hyllian
2024-06-15 11:02:30 -03:00
committed by GitHub
parent 54097fc14e
commit 2a90a88055
9 changed files with 1344 additions and 6 deletions

View File

@ -168,7 +168,7 @@ else {
}
float steps; if (GetOption(TYPE) == 0.0) steps = 0.5; else steps = 0.3333;
float whichmask = fract(vTexCoord.x*GetResolution().x*steps);
float whichmask = fract(vTexCoord.x*GetWindowSize().x*steps);
float mask = 1.0 + float(whichmask < steps) * (-GetOption(MASK_DARK));
colour.rgb = mix(mask*colour, colour, dot(colour.rgb,vec3(maskFade)));