mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 02:35:55 +08:00
Port of the changes made with bea50dce7c4c5bfd0ccb7d7112e9d808dbe79520 to OpenGL ES
This commit is contained in:
parent
38a5af4300
commit
a9c43c8171
@ -32,5 +32,7 @@ vec4 non_svg_color()
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = svg_source ? svg_color() : non_svg_color();
|
||||
vec4 color = svg_source ? svg_color() : non_svg_color();
|
||||
color.a = transparent_background ? color.a * 0.5 : color.a;
|
||||
gl_FragColor = color;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user