mirror of
https://github.com/servo/servo.git
synced 2025-06-06 00:25:37 +00:00
Copy fixed box-shadow shader.
This commit is contained in:
parent
2ebf8618c0
commit
c349e4b1b8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue