Skip to content

Commit

Permalink
Apply same fix for dark background in shaders_110
Browse files Browse the repository at this point in the history
  • Loading branch information
paletteOvO committed Jul 4, 2023
1 parent 350972f commit 66c1dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shaders_110/shapecorners.frag
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ vec4 shadowCorner(float distance_from_center) {
if (percent < 0.0)
return vec4(0.0, 0.0, 0.0, 0.0);
else
return vec4(shadowColor.rgb, shadowColor.a * percent);
return vec4(shadowColor.rgb * shadowColor.a * percent, shadowColor.a * percent);
}

vec4 shapeCorner(vec2 coord0, vec4 tex, vec2 center) {
Expand Down

0 comments on commit 66c1dd2

Please sign in to comment.