Hi I am trying to render my Picture with glow on a transparent Background. I dont get why it does not work. If i set up any background the glow effects works, if i make the Background transparent it does not work.
-
1$\begingroup$ I think it's because the add node will use the alpha of the upper input and so in your first picture the glow effect is invisible, but for the second picture the glow should work since the blur node is plugged in as the first input. $\endgroup$– covectorFeb 6, 2020 at 11:17
-
$\begingroup$ Yes but on the transparent one, the particles that are on the flower got the blur effect. So i dont get it why the other particles does not have the effect $\endgroup$– RawRavenFeb 6, 2020 at 14:01
1 Answer
To know why this is happening, first you have to understand how alpha works. A transparent image(image with 0 alpha) doesn't mean it doesn't have any color(rgb values).
For example: A pixel can have red value of 255, green value of 100, blue value of 0 and alpha value of 0 (RGBA=(255,100,0,0))
In the both of your image, the RGB value is the same, but they have different alpha values.
In the picture below, both of the green areas have the same rgb value, the only different is that the right one doesn't have an alpha value. Which makes it seems like the glow effect didn't work, but in truth, the glow is just transparent, you could verify this by unchecking use alpha in the composite node, and you will see the glow (unless you have premul on, but that's another thing).
And for the particles on the flower, the reason why the glow effect is visible there is because the flower is completely opaque. It forces the pixels around the particle to have an alpha value of 1.
More information on alpha: https://docs.blender.org/manual/en/latest/glossary/index.html#term-alpha-channel
Edit: You can still do it but you may need to add a little more nodes.
In the picture below, I added the alpha values of the unblurred image and the alpha values of the blurred image together, then set it as the alpha of the final image using the set alpha node.
-
$\begingroup$ Oh, ok thank you. So i think it is not possible to make the glow visible in Video editing software? Sorry if this is a stupid question, maybe i just understood something wrong. $\endgroup$– RawRavenFeb 6, 2020 at 15:17
-
1$\begingroup$ @RawRaven it is still possible, i edited the answer and added how to still achieve the glow effect using the set alpha node. $\endgroup$– covectorFeb 6, 2020 at 15:34