# Imported green screen video has weird dark outline when imported into Blender

**URL:** <https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686>\
**Category:** Materials and Textures\
**Tags:** vfx, video, materials, greenscreen, lighting\
**Created:** [December 8, 2021, 3:29am UTC](https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686 "2021-12-08T03:29:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ActionJackson](https://blenderartists.org/letter_avatar_proxy/v4/letter/a/ee59a6/32.png) [@ActionJackson](https://blenderartists.org/u/ActionJackson)\
**Post date:** [December 8, 2021, 3:29am UTC](https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686/1 "2021-12-08T03:29:31Z")

</div>

Hi,

I chroma keyed a green screen video in DaVInci Resolve, then imported it into a blender scene as an Emission node so it’s not affected by lights in the scene _(I just change emission strength to match the scene)_.

In DaVinci, the key is fine, and there is no weird dark outline. But when imported into Blender, it looks like the following:

 ![blender outline problem](https://blenderartists.org/uploads/default/original/4X/b/2/8/b28bb0beac59965b8dd3d8f02ca3efa43565d51a.jpeg)

I messed with every material setting that had a positive value, and it changes nothing.

Why is this happening, and how can I fix it? The only thing I can think of is that there’s something wrong with the codec I used to export the keyed video from DaVinci, or something’s up with Blender.

If it helps, I used the GoPro CineForm RGB-16 bit codec with Alpha export on, and that’s the only codec with an alpha channel available for me on this computer, so I can’t test other options.

Thanks!

---

<div class="post-metadata">

**Author:** ![Okidoki](https://blenderartists.org/user_avatar/blenderartists.org/okidoki/32/1434104_2.png) [@Okidoki](https://blenderartists.org/u/Okidoki)\
**Post date:** [December 8, 2021, 3:59pm UTC](https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686/2 "2021-12-08T15:59:29Z")

</div>

You may want to use the alpha to mix with an additional trasnsparent shader (or even bluring the alpha). It also depends on eevee/cylces and alpha blend modes/ tranparency light path max bounce values.

---

<div class="post-metadata">

**Author:** ![MarkusK](https://blenderartists.org/user_avatar/blenderartists.org/markusk/32/548017_2.png) [@MarkusK](https://blenderartists.org/u/MarkusK)\
**Post date:** [December 8, 2021, 5:02pm UTC](https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686/3 "2021-12-08T17:02:08Z")

</div>

There are two ways to export a clip with an alpha channel: 1) Straight or 2) Premultiplied. In Blender you can set the corresponding alpha treatment in the N-panel of your shading node in the “Alpha” dropdown menue (“Straight/Premultiplied”).  
I hope this can solve your problem.

Markus

---

<div class="post-metadata">

**Author:** ![Midphase](https://blenderartists.org/user_avatar/blenderartists.org/midphase/32/1467873_2.png) [@Midphase](https://blenderartists.org/u/Midphase)\
**Post date:** [December 8, 2021, 5:31pm UTC](https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686/4 "2021-12-08T17:31:55Z")

</div>

Markus is right, this looks like a straight vs. premult issue. Resolve is interpreting it correctly while Blender is likely defaulting to the wrong option.

---

<div class="post-metadata">

**Author:** ![ActionJackson](https://blenderartists.org/letter_avatar_proxy/v4/letter/a/ee59a6/32.png) [@ActionJackson](https://blenderartists.org/u/ActionJackson)\
**Post date:** [December 10, 2021, 4:30am UTC](https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686/5 "2021-12-10T04:30:44Z")

</div>

First off, thanks for the replies! I’m very grateful you even replied.

And I tried everything you all said, but it didn’t change anything. And for everything that follows

- I’m using cycles.
- I set the video’s Material Properties → Viewport Dispaly → Settings → Blend and shadow modes both to Alpha Clip.
- Turned the light paths max bounces all the way up to 5+ for everything. Even though there’s nothing that would get in the way to prevent light from passing through, etc
- Set Light paths → Clamping both to 0.
- Set the alpha in my video’s node in the Shading tab’s N-panel to both Straight, and Premultiplied.

But nothing stops this black line from appearing.

And as for Okidoki’s suggestion, this is the node structure I set, but nothing worked either:

- my\_video’s color → PrincipledBSDF emission
- my\_video’s alpha → MixShader’s Fac
- Transparent BSDF → MixShader’s top shader
- PrincipledBSDF → MixShader’s bottom shader
- MixShader → MaterialOutput’s surface

Any ideas? Need some more info?

---

<div class="post-metadata">

**Author:** ![ActionJackson](https://blenderartists.org/letter_avatar_proxy/v4/letter/a/ee59a6/32.png) [@ActionJackson](https://blenderartists.org/u/ActionJackson)\
**Post date:** [December 12, 2021, 10:18pm UTC](https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686/6 "2021-12-12T22:18:57Z")

</div>

I forgot to show that this is the original node tree:

 ![node tree - black outline](https://blenderartists.org/uploads/default/original/4X/a/4/0/a40f99b5f7e4ba041c8e515f96908e2149accca2.jpeg)

---

<div class="post-metadata">

**Author:** ![ActionJackson](https://blenderartists.org/letter_avatar_proxy/v4/letter/a/ee59a6/32.png) [@ActionJackson](https://blenderartists.org/u/ActionJackson)\
**Post date:** [December 17, 2021, 3:10am UTC](https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686/7 "2021-12-17T03:10:20Z")

</div>

FIXED IT! The problem was the original key. I ever tested that key against a white background. It was always either black or transparent.

So I fixed the key, and it works fine now.

---

<div class="post-metadata">

**Author:** ![Okidoki](https://blenderartists.org/user_avatar/blenderartists.org/okidoki/32/1434104_2.png) [@Okidoki](https://blenderartists.org/u/Okidoki)\
**Post date:** [December 17, 2021, 10:17am UTC](https://blenderartists.org/t/imported-green-screen-video-has-weird-dark-outline-when-imported-into-blender/1343686/8 "2021-12-17T10:17:35Z")

</div>

Glad you found a solution 🎉 . Interesting a specific keycolor could give good results in the original app and on the other hand can give problems when exported to blender… 🤔 hmmm while re-reading your first post i also think a bit different about my understanding of your problem description… Maybe next time i would ask something like: “_Any reason why not doing this alltogether in blender? Because sometimes exports and re-imports break the workflo.w…_”
