New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
a03541a0f8
763 changed files with 69366 additions and 2632 deletions
9
plugins/obs-transitions/data/premultiplied.inc
Normal file
9
plugins/obs-transitions/data/premultiplied.inc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
float4 convert_pmalpha(float4 color)
|
||||
{
|
||||
float4 ret = color;
|
||||
if (color.a >= 0.001)
|
||||
ret.xyz /= color.a;
|
||||
else
|
||||
ret = float4(0.0, 0.0, 0.0, 0.0);
|
||||
return ret;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue