Skip to content

Commit 5cf4925

Browse files
committed
Changes softlight shine to be more obvious, fixes aspect ratio & border glitch
1 parent 8c2fca3 commit 5cf4925

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

reshade/shaders/blendsoftlight/blendsoftlight.glsl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@ uniform COMPAT_PRECISION float OUT_Y;
6060
void main()
6161
{
6262
gl_Position = MVPMatrix * VertexCoord;
63-
vec2 scale = (OutputSize.xy / InputSize.xy) / SCALE;
64-
vec2 middle = vec2(0.5, 0.5) * InputSize.xy / TextureSize.xy;
65-
vec2 diff = TexCoord.xy - middle;
66-
TEX0.xy = middle + diff * scale;
63+
TEX0.xy = TexCoord.xy;
64+
65+
// vec2 scale = (OutputSize.xy / InputSize.xy) / SCALE;
66+
// vec2 middle = vec2(0.5, 0.5) * InputSize.xy / TextureSize.xy;
67+
// vec2 diff = TexCoord.xy - middle;
68+
// TEX0.xy = middle + diff * scale;
6769
}
6870

6971
#elif defined(FRAGMENT)
-333 KB
Loading
3.92 MB
Loading

0 commit comments

Comments
 (0)