x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I render particles with constant screen space size?

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.

Product Version: UE 4.11
Tags:
more ▼

asked Apr 26 '16 at 12:24 AM in Rendering

avatar image

brianchenito
16 1 1 3

avatar image Niberspace Oct 11 '17 at 02:25 AM

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 :(

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

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:

alt text

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

more ▼

answered Oct 11 '17 at 12:40 PM

avatar image

Luos
9.2k 283 63 328

avatar image Niberspace Oct 12 '17 at 07:51 AM

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!

avatar image Luos Oct 12 '17 at 08:55 AM

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

avatar image Tom Looman Jan 08 '19 at 01:27 PM

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.

(comments are locked)
10|2000 characters needed characters left

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

more ▼

answered Oct 11 '17 at 12:00 PM

avatar image

Deathrey
7.8k 130 30 292

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question