# How do I render particles with constant screen space size?

**URL:** <https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475>\
**Category:** Rendering\
**Tags:** screen-space, particle-systems, unreal-engine, question\
**Created:** [April 26, 2016, 12:24am UTC](https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475 "2016-04-26T00:24:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_47252eda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_47252eda](https://forums.unrealengine.com/u/anonymous_user_47252eda)\
**Post date:** [April 26, 2016, 12:24am UTC](https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475/1 "2016-04-26T00:24:07Z")

</div>

I would like to generate particles that render onscreen at a fixed size, regardless of its current distance from the camera, in a manner similar to screen space size material billboards. Although I would prefer to do this, per emitter, inside the particle system, I would not be opposed to a blueprint solution. Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Niberspace](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Niberspace](https://forums.unrealengine.com/u/Niberspace)\
**Post date:** [October 11, 2017, 2:25am UTC](https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475/2 "2017-10-11T02:25:58Z")

</div>

I would like to do this too, in Unity I would simply make the size of a particle huge then set the max screensize to something quite low. Unfortunately I can’t find any setting similar to “max screensize” in UE4. I’m really surprised because if you have a small but expensive particle it could be super expensive if the player decides to stare and zoom into to make it fullscreen ☹

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [October 11, 2017, 12:00pm UTC](https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475/3 "2017-10-11T12:00:09Z")

</div>

If there is no such option in cascade, you can use material WPO to maintain fixed particle screen size.

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [October 11, 2017, 12:40pm UTC](https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475/4 "2017-10-11T12:40:32Z")

</div>

A while back I made a material function that can change the size of a regular sprite particle depending on camera position and its distance to the camera:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/5/3b574f57c8818e23db61d415db60fcb525b3f64f.jpeg)

I am sure that with some messing about you can get it to work the way you want it.  
(output goes into world pos)

---

<div class="post-metadata">

**Author:** ![Niberspace](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Niberspace](https://forums.unrealengine.com/u/Niberspace)\
**Post date:** [October 12, 2017, 7:51am UTC](https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475/5 "2017-10-12T07:51:53Z")

</div>

Wow that’s a creative solution, thanks! I still wish that cascade would just support it out of the box (Assuming it’s an easy feature considering Unity has always had that feature) but in the meantime that sounds like a good workaround!

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [October 12, 2017, 8:55am UTC](https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475/6 "2017-10-12T08:55:29Z")

</div>

thats because cascade is old, really really old.  
I bet something like that will be a standard feature once Niagara comes out though.

---

<div class="post-metadata">

**Author:** ![Tom\_Looman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tom_looman/32/1215549_2.png) [@Tom\_Looman](https://forums.unrealengine.com/u/Tom_Looman)\
**Post date:** [January 8, 2019, 1:27pm UTC](https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475/7 "2019-01-08T13:27:34Z")

</div>

I found there is a built-in node that worked better on my end (specifically using this with Niagara, for which I haven’t found this built-in the particle editor itself yet)

material node is “ConstantScaleByDistance” which takes 1 scale input and can be directly plugged into WPO of the material.

---

<div class="post-metadata">

**Author:** ![slayniac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@slayniac](https://forums.unrealengine.com/u/slayniac)\
**Post date:** [May 20, 2019, 12:09pm UTC](https://forums.unrealengine.com/t/how-do-i-render-particles-with-constant-screen-space-size/355475/8 "2019-05-20T12:09:48Z")

</div>

Just stumbled upon this thread looking for something else. Here is a solution for OP’s problem in case anyone else is wondering. This requires the particle to have a base size of 1.0 in at least one dimension.

 ![277426-fixed-screensize-particle.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/d/07d70781f1c57abd8401a871fd79122d5b3cdfb5.jpeg)
