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

@ -132,7 +132,7 @@ void main()
{
vec2 texCoord = GetCoordinates();
vec2 SourceSize = 1.0 / GetInvNativePixelSize();
float aa_factor = 2.0* (1.0/GetResolution().x) * SourceSize.x;
float aa_factor = 2.0* (1.0/GetWindowSize().x) * SourceSize.x;
vec4 edri, edr, edr_l, edr_u, px; // px = pixel, edr = edge detection rule
vec4 irlv0, irlv1, irlv2l, irlv2u;