Unity 2018 - Game VFX - 10 Performance Improvements Tips

preview_player
Показать описание
Unity Game Effects - Performance, Improvements and Optimization Tips

This video shows you how you can improve the performance of your game effects, by giving you 10 tips and tricks that I've gathered along the way.

We talk about destroying your vfx, triangles and meshes, sprite sheets or texture atlas, render settings, draw calls, batching and other key concepts.

Here's the timeline:

1. Destroy your VFX as soon as possible: 0:20
2. How many times your VFX appears simultaneously matters: 1:27
3. Amount of Triangles per VFX: 2:12
4. Reduce the amount of materials, reduce the draw calls: 3:23
5. Use Sprite Sheets / Texture Atlas: 4:50
6. Make sure your Sprite Sheets are not above 4096 x 4096: 6:18
7. The Renderer Settings of the Particle Systems should be equal: 6:46
8. Your VFX is ready for batching: 7:30
9. Some modules will cancel Automatic Culling: 9:10
10. Avoid using "Application Framerate = -1": 10:34

----------------------------------------------------------------------

----------------------------------------------------------------------

VFX Packages:

VFX Graph Tutorials:

Shader Graph Tutorials:

Other VFX Tutorials:

Enjoy and feel free to ask any questions you may have, i'll answer as quickly as possible. And don't forget to like and subscribe. Thank you!

Unity Game VFX Performance Tips
Unity Game Effects Improvements
Unity Effects #Optimization
Game Effects in Unity
Unity #Performance
Game Effects
Unity Tips
#VFX
Рекомендации по теме
Комментарии
Автор

2023 - Great optimizations tricks - thank you!

PRodi_
Автор

Although a lot of the other tips are good, I'd like to add a bit of a correction to the first tip. When you handle a lot of destroying of particle systems in your game, it's probably a better idea to use an object pooling system. You add these particle systems' GameObjects to a list of GameObjects, and instead of destroying and instantiating the particle systems, you disable them, reset their variables to the wanted start variables, and instead of instead of instantiating a new GameObject, you re-enable one of the ParticleSystems. This improves your performance almost every time you use it, with some exceptions like not having very many particle systems.

roelzwakman
Автор

These are some very helpful tips. Thank you!

Endar
Автор

Thank you so much for making this! your tutorials are very clear and understandable

seworian
Автор

There's one important performance pitfall with particle systems you're forgetting: overdraw. When you have even just a small amount of particles that fill up your camera view, your GPU has to redraw many pixels multiple times, causing significant framedrops if you're not careful. Not an uncommon problem for when you have smoke / explosion effects.

Clavus
Автор

Thank you for all the useful information

zankaster
Автор

Fucking hell dude, the amount of quality content you put out for free is amazing.

POmah
Автор

Thank you! my games fps improved by +15!

YimboSlyce
Автор

thanks for this tutorial, it is helpfule ~

fangyechannel
Автор

Hey, I am getting into Unity Particle effects for a game aswell but I didnt spend much time in Unity yet.
I notice that you always use quite a nice enviroment in your videos and I was woundering how I can quickly reproduce it to have a better sense of the effects I am creating.

Thanks ahead

Keep up the good work

ricolafrogdamaster
Автор

Parabens pelo video. Mandei uma mensagem no patreon pra vc. Abraço.

henriqueam
Автор

I am sure you know more than this to share about performance. Please do explain the most performant way to evade "GetComponenet"s and Instantiations. The emit on particle looks a bit tricky to me yet.

Rubidev
Автор

Probably late to the party but nevertheless. Instead of destroying the particle with a script, there is a "Stop Action" part which can be set to Destroy.

joy
Автор

i would advise using the object pooling instead of Destroy if your doing it with a large amount of particles

Cybored.
Автор

Great video. But instead of destroying the particle system, wouldn't it be enough to simply stop the particle system by calling the ParticleSystem.Stop method?

sycopath
Автор

would it be possible to make a video like this, but using UE5?

SachaSilva-iskn
Автор

this is great! Xould you make a tutoril about water trails that a boat would lieave while driving through a river? Or some water efects in General :)

TilSkywalker
Автор

Thanks for the video, these tips helps a lot. I have a question, instead destroy the Game Object. it's also perform used the function SetActive? Thanks

HaganeKend
Автор

3:06 is there a tutorial on this specific vfx?

simonzhangD
Автор

would you mind if you create black hole tutorial particle? for 2d game

ramalmaliki