# Anamorphic lens flare

**URL:** <https://forums.unrealengine.com/t/anamorphic-lens-flare/311323>\
**Category:** Rendering\
**Tags:** lens-flares, Post-Processing, how-would-you-do-it, unreal-engine, Shaders, question\
**Created:** [March 17, 2015, 4:41am UTC](https://forums.unrealengine.com/t/anamorphic-lens-flare/311323 "2015-03-17T04:41:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aethryx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aethryx](https://forums.unrealengine.com/u/Aethryx)\
**Post date:** [March 17, 2015, 4:41am UTC](https://forums.unrealengine.com/t/anamorphic-lens-flare/311323/1 "2015-03-17T04:41:15Z")

</div>

I can’t seem to find away to do this, nor have I found an answer here. I want to know how I can use anamorphic lens flares instead of bokeh, either by replacing it or using some kind of directional blur. I did find something that seemed perfect on another question page ([here](https://answers.unrealengine.com/questions/133077/post-process-directional-blur.html)) but the links are all broken, so I can’t do anything with it sadly. Any ideas? I would really prefer some kind of shader over a static image.

---

<div class="post-metadata">

**Author:** ![LALELiLU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LALELiLU](https://forums.unrealengine.com/u/LALELiLU)\
**Post date:** [October 16, 2015, 1:09pm UTC](https://forums.unrealengine.com/t/anamorphic-lens-flare/311323/2 "2015-10-16T13:09:03Z")

</div>

Hey, i had written that shader once (to be seen in the link you posted), however it turned out it wasn’t exactly a comfortable way of controlling an effect like this. I was unfortunately preoccupied with other things afterwards, which is why i couldn’t follow up on the stuff i did there.

Right now i think it would be best to replace the current bloom post fx with the anamorphic version rather than trying to plug this into the bloom effect. I just have to figure out a way to do this without having to change the engine source (which turned out to be a cumbersome method when dealing with continuous updates to the engine).

The shader in itself isn’t really difficult to make, performance however is where it might get tricky. I hope that some of these days i’ll get to back into continuing that, as there seems to be demand for it.

---

<div class="post-metadata">

**Author:** ![Ateruber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ateruber](https://forums.unrealengine.com/u/Ateruber)\
**Post date:** [November 2, 2015, 4:59am UTC](https://forums.unrealengine.com/t/anamorphic-lens-flare/311323/3 "2015-11-02T04:59:02Z")

</div>

Maybe there is a possibility to use particles?

> **[How kill particle emitter occluded object ?](https://forums.unrealengine.com/questions/288347/how-kill-particle-emitter-occluded-object.html)**
>
> how to turn off particles beyond objects ?
