# Paint on Canvas using BlendMode

**URL:** <https://forums.unrealengine.com/t/paint-on-canvas-using-blendmode/454859>\
**Category:** Rendering\
**Tags:** landscape-painting, canvas, unreal-engine, UE4, CPP, question\
**Created:** [September 4, 2019, 8:02pm UTC](https://forums.unrealengine.com/t/paint-on-canvas-using-blendmode/454859 "2019-09-04T20:02:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evg\_1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Evg\_1987](https://forums.unrealengine.com/u/Evg_1987)\
**Post date:** [September 4, 2019, 8:02pm UTC](https://forums.unrealengine.com/t/paint-on-canvas-using-blendmode/454859/1 "2019-09-04T20:02:22Z")

</div>

I want to paint line. Blend mode is additive. Line is painted as opaque. Is it possible to paint additive?

```
// canvas construction
RenderTarget = UCanvasRenderTarget2D::CreateCanvasRenderTarget2D(GetWorld(), UCanvasRenderTarget2D::StaticClass(), Width, Height);
RenderTarget->OnCanvasRenderTargetUpdate.AddDynamic(this, &Rasterizer::OnRenderTargetReceiveUpdate);

// on receive update proc
FCanvasLineItem LineItem(at, bt);
LineItem.LineThickness = 10.0f;
LineItem.SetColor(FLinearColor(0.0f, 1.0f, 0.0f));
LineItem.BlendMode = ESimpleElementBlendMode::SE_BLEND_Additive;
Canvas->DrawItem(LineItem);

```

Feature level is SM5

---

<div class="post-metadata">

**Author:** ![Evg\_1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Evg\_1987](https://forums.unrealengine.com/u/Evg_1987)\
**Post date:** [September 5, 2019, 4:35am UTC](https://forums.unrealengine.com/t/paint-on-canvas-using-blendmode/454859/2 "2019-09-05T04:35:51Z")

</div>

This is not possible according to docs:  
blend mode will be disregarded for these - only SE\_BLEND\_Opaque is currently supported

> **[FCanvasLineItem](https://docs.unrealengine.com/4.27/en-US/API/Runtime/Engine/FCanvasLineItem/)**
>
> Line item.
