mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 07:55:45 -04:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user