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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Efficient rain system for like multiplayer.

If you look up for rain systems you get to see most of the time that people use particle effects for that.

But then I wonder is it not heavy and bad for performance to have thousands of rain particles in the map?

I heard some people suggest to attach the particle system to the character so you don't have to generate a lot of particles. And that could work for single player.

But let's say you have a game like PUBG where the map is huge and it is multiplayer and you need to have rain everywhere on the map. What would be the most efficient way of doing this, is there actually other ways of making a rain system without particles?

Product Version: UE 4.20
Tags:
more ▼

asked Apr 29 '19 at 11:52 AM in Everything Else

avatar image

Faronoz
76 7 12 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Particle systems are pretty efficient for rendering hundreds or thousands of particles. They're not expensive like Actors are. You do need to exercise some control and employ tricks like attaching the particles to the character but otherwise you should be OK (just don't go overboard and consider if you really need physics collisions etc).

One other way of rendering the rain would be to do it all in a post process, but you probably won't get a very satisfying result (although people more skilled than me might have more luck).

In terms of a multiplayer, you could just attach PFX above each player and optimise by only rendering the players own rain PFX. You might need to turn other on / off or move the player PFX depending on the camera location but the key thing is to remember that it only needs to look like it's raining from the one camera the player is looking at (true even if you have 100's of players because each is running their own client, and it's only on their client that they need to see the rain where they are).

more ▼

answered Apr 29 '19 at 12:32 PM

avatar image

phil_me_up
1.5k 6 6 12

avatar image Luos May 04 '19 at 08:09 AM

This. nothing more to add.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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