Skip to content

Commit

Permalink
Copy fixed box-shadow shader.
Browse files Browse the repository at this point in the history
  • Loading branch information
gw3583 authored and Ms2ger committed Aug 3, 2016
1 parent 2ebf861 commit c349e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/shaders/ps_box_shadow.fs.glsl
Expand Up @@ -147,5 +147,5 @@ void main(void) {
float value = color(pos, p0Rect, p1Rect, radii, sigma);

value = max(value, 0.0);
oFragColor = vec4(vColor.rgb, vInverted == 1.0 ? 1.0 - value : value);
oFragColor = vColor * vec4(1.0, 1.0, 1.0, vInverted == 1.0 ? 1.0 - value : value);
}

0 comments on commit c349e4b

Please sign in to comment.