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

@ -34,7 +34,7 @@ void main()
vec2 vTexCoord = GetCoordinates();
vec2 SourceSize = 1.0 / GetInvNativePixelSize();
vec2 texelSize = 1.0 / SourceSize.xy;
vec2 OutputSize = GetResolution().xy;
vec2 OutputSize = GetWindowSize().xy;
vec2 range = vec2(abs(SourceSize.x / (OutputSize.x * SourceSize.x)), abs(SourceSize.y / (OutputSize.y * SourceSize.y)));
range = range / 2.0 * 0.999;