# DrawDebugLine() being affected by lighting/postprocessing

**URL:** <https://forums.unrealengine.com/t/drawdebugline-being-affected-by-lighting-postprocessing/331844>\
**Category:** Rendering\
**Tags:** Post-Processing, unreal-engine, Rendering, Lighting, CPP, question\
**Created:** [September 11, 2015, 10:36am UTC](https://forums.unrealengine.com/t/drawdebugline-being-affected-by-lighting-postprocessing/331844 "2015-09-11T10:36:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Themperror](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Themperror](https://forums.unrealengine.com/u/Themperror)\
**Post date:** [September 11, 2015, 10:36am UTC](https://forums.unrealengine.com/t/drawdebugline-being-affected-by-lighting-postprocessing/331844/1 "2015-09-11T10:36:35Z")

</div>

Hello,

So I’m not sure if this is a bug (In my honest opinion it should be) but debug lines are effected by lighting/postprocessing while it should make more sense for it to be unlit and a pure color.

Is this intended behaviour? Because if a lot of lines are near/on each other the glare will be insane (to the point of literally being a white screen) and disabling postprocessing/lighting feels like doing an action that should’ve been unnecessary for something like this.

(And for safety purposes debug stuff should have a structure as basic as possible to avoid bugs in software/driver/hardware implementation)

Issue shown below: (Note that these are purely a DrawDebugLine() call in C++, nothing extra has been added and theres 1 point light in the middle of the platform)

 ![58198-effect.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/e/41ee19ff263b775a81b532dd77642322c252d2bf.png)

 ![58200-lighting2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/6/4569b8dd0ae13ef18777eed00dd5e9261d54436a.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [September 11, 2015, 9:40pm UTC](https://forums.unrealengine.com/t/drawdebugline-being-affected-by-lighting-postprocessing/331844/2 "2015-09-11T21:40:46Z")

</div>

Hello ,

Thank you for bringing this up. While I’m not quite sure if this is the intended functionality, I don’t believe it is. I’ll be looking into it and if it is not intended, I’ll put a bug report in. I’ll let you know once a decision has been made.

In light of this (pun not intended) I’ll be moving this to the Bug Reports section.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [September 14, 2015, 9:26pm UTC](https://forums.unrealengine.com/t/drawdebugline-being-affected-by-lighting-postprocessing/331844/3 "2015-09-14T21:26:58Z")

</div>

Hi Temperror,

I’ve placed a bug into our system for this issue. For your reference, the number is UE-21080. I’ll be sure to let you know when the issue has been fixed or if any updates are made to the bug report.

Have a nice day!

---

<div class="post-metadata">

**Author:** ![Themperror](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Themperror](https://forums.unrealengine.com/u/Themperror)\
**Post date:** [September 15, 2015, 2:23pm UTC](https://forums.unrealengine.com/t/drawdebugline-being-affected-by-lighting-postprocessing/331844/4 "2015-09-15T14:23:16Z")

</div>

For completeness I shall list my computer specs (should it be related):

Windows 10 Pro 64-bit, Fully updated as of 9/15/2015

Laptop: Clevo W370ST  
CPU: i7 4710hq  
GPU: Nvidia GTX765M  
RAM: 16GB Corsair (1600 11/11/11/24)  
Nvidia Driver version: 355.82

UE4 was not run with any non-default command line options.(Straight from the UE4 Launcher (So it should not have run with Dx12 if that could have been an issue))

---

<div class="post-metadata">

**Author:** ![rizzlewizzle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rizzlewizzle](https://forums.unrealengine.com/u/rizzlewizzle)\
**Post date:** [February 23, 2017, 9:47am UTC](https://forums.unrealengine.com/t/drawdebugline-being-affected-by-lighting-postprocessing/331844/5 "2017-02-23T09:47:00Z")

</div>

This still hasn’t been resolved by version 15???

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [February 23, 2017, 2:17pm UTC](https://forums.unrealengine.com/t/drawdebugline-being-affected-by-lighting-postprocessing/331844/6 "2017-02-23T14:17:56Z")

</div>

Hello rizzlewizzle,

That’s correct, it has not been fixed. This is not a high priority issue as it doesn’t affect any gameplay functionality and is only an inconvenience in a few edge cases. You can keep track of the bug’s status [here](https://issues.unrealengine.com/issue/UE-21080), but it is backlogged at the moment.
