Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Version 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hl2guide authored Jan 23, 2022
1 parent 7df9ce9 commit 52813f8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# better-mpv-config

Version: 1.0.3
Version: 1.0.4

Last Updated (AEST): 2021-12-08 02:29:36PM
Last Updated (AEST): 2022-01-23 09:31:59PM

## Intro

Expand Down
2 changes: 1 addition & 1 deletion shaders/KrigBilateral.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,4 @@ vec4 hook() {
interp += b[0] * (X[0] - X[N]).zw;

return interp.xyxy;
}
}
5 changes: 3 additions & 2 deletions shaders/SSimDownscaler.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ vec4 hook() {
float rel = (pos[axis] - base[axis])*POSTKERNEL_size[axis];
float w = Kernel(rel);

avg += w * pow(textureLod(PREKERNEL_raw, pos, 0.0) * PREKERNEL_mul, vec4(2.0));
vec4 tex = textureLod(PREKERNEL_raw, pos, 0.0) * PREKERNEL_mul;
avg += w * tex * tex;
W += w;
}
avg /= W;
Expand Down Expand Up @@ -214,4 +215,4 @@ vec4 hook() {
avg /= W;
vec4 L = POSTKERNEL_texOff(0);
return vec4(avg[1] + avg[2] * L.rgb - avg[0], L.a);
}
}
2 changes: 1 addition & 1 deletion shaders/SSimSuperRes.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,4 @@ vec4 hook() {
c0.rgb = ((c0.rgb) + diff);

return c0;
}
}
3 changes: 1 addition & 2 deletions shaders/adaptive-sharpen.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Requires sigmoid-upscaling=no. Best quality setting (according to objective metrics): curve_height 0.5, overshoot_ctrl true.
// To use it on-demand add the following line to input.conf: n change-list glsl-shaders toggle "~~/adaptive-sharpen.glsl"


// Copyright (c) 2015-2021, bacondither
// All rights reserved.
//
Expand Down Expand Up @@ -260,4 +259,4 @@ vec4 hook() {
vec3 res = c0_Y + (sharpdiff_lim*3.0 + sharpdiff)/4.0 + (c[0] - c0_Y)*satmul;

return vec4(video_level_out == true ? res + HOOKED_texOff(0).rgb - c[0] : res, HOOKED_texOff(0).a);
}
}

0 comments on commit 52813f8

Please sign in to comment.