Unity Performance Tips: Draw Calls

  Рет қаралды 181,275

Lofi Dev

Lofi Dev

Күн бұрын

A short video on how to improve your frame rate in Unity. This video covers various optimizations to reduce draw calls such as combining meshes, batching and gpu instancing.
Music Credit: LAKEY INSPIRED
Track Name: "The Process"
Music By: LAKEY INSPIRED
Official SoundCloud / lakeyinspired
Official KZfaq Channel: / @lakeyinspired
License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0)
creativecommons.org/licenses/...
Music promoted by: Chill Out Records @ goo.gl/fh3rEJ www.ChillOutMedia.com / www.LoFi-HipHop.com
Music Credit: "KaizanBlu"
Track Name: "Remember"
• Instagram - / kaizanblu
• SoundCloud - / kaizanblu
• Facebook - / kaizanblumusic
• TikTok - @kaizanblu vm.tiktok.com/aCYwfx/
• KZfaq - / @kaizanblu
Licence: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
• Music released by: Chill Out Records goo.gl/fh3rEJ @www.ChillOutMedia.com / www.LoFi-HipHop.com

Пікірлер: 220
@Kapthos
@Kapthos Жыл бұрын
I was always so worried about poly count, always trying to keep it to a minimum, but I love it that in this video you went from 0.5 FPS to hundreds without reducing a single polygon, always kept with those 21M.
@Domarius64
@Domarius64 Жыл бұрын
There are various bottlenecks to be aware of, polycount is still one of them, but the aim is to solve the one affecting your particular situation.
@xomvoid_akaluchiru_987
@xomvoid_akaluchiru_987 Жыл бұрын
@@Domarius64 why not apply all of the performance techniques at once? As soon as you solve the original problem, shouldn't you apply the other techniques?
@Domarius64
@Domarius64 Жыл бұрын
@@xomvoid_akaluchiru_987 if you have infinite time, sure, you can do everything. But in the real world you are always making trade offs to get something produced in a way that still turns a profit.
@xomvoid_akaluchiru_987
@xomvoid_akaluchiru_987 Жыл бұрын
@@Domarius64 Ok, time constraints, sure, but if a product is finished and you're coming back to fix some things then I don't see why implementing all of them would be an issue if the product really does benefit from it. If it doesn't benefit much then I just trust myself to have common sense and see that it's not worth it.
@Domarius64
@Domarius64 Жыл бұрын
@@xomvoid_akaluchiru_987 that "extra time at the end" literally never happens in game dev :) you always end up releasing the game when its good enough, not because its finished, because it never is. And so you cant justify spending time on things that have no tangible benefit - remember, you said "why not do all of them?" Well, thats why not. If the game runs on the target hardware acceptably, there is no reason to optimise. Plus when you say "why noy do all techniques" like there are only 5 or something. Every different programmer could know any number of techniques they learned about somewhere, too numerous to list, you cant just "do them all". And more importantly, those changes will not have zero impact, there will always be knock on changes related to that, and plenty of opportunity for new bugs to be introduced at every step of the way, all which will have to be fixed, taking even more time. If its working, you leave it alone.
@TurboMakesGames
@TurboMakesGames 3 жыл бұрын
Great overview. I liked how you you showed multiple levels of improvement and how each setting improved frame rate and batches 👍
@samkwok2538
@samkwok2538 3 жыл бұрын
The best Unity Performance tips on KZfaq ever
@lucutes2936
@lucutes2936 Ай бұрын
indeed
@Imry0411
@Imry0411 Жыл бұрын
This will definitely be added to my greatest-unity-tutorials-of-all-time list.
@ivo435
@ivo435 Жыл бұрын
You single-handedly saved my project. I went up from average 28-30 fps to 160 lol. Thank you so much
@dertobbe1176
@dertobbe1176 Ай бұрын
How are you doing mate? Is your game realesed yet?
@peteyoshea
@peteyoshea 3 жыл бұрын
This is so well explained. Great video!
@gneisskitty9359
@gneisskitty9359 Жыл бұрын
Helpful, concise, and clear. Thank you for taking the time to make this video.
@TheSateef
@TheSateef 11 ай бұрын
i love these short concise videos full of great info, thanks so much
@fakename3208
@fakename3208 2 жыл бұрын
Awesome video thank you bro. Loved the visuals and explanations. I now know exactly what I need to do for my use case.
@iLikeCoffee777
@iLikeCoffee777 3 жыл бұрын
Okay these are some really good tips explained very well and I absolutely love the cat at the end!
@dreamisover9813
@dreamisover9813 2 жыл бұрын
Great overview, quick and to the point, thanks
@harrykingsley7915
@harrykingsley7915 3 жыл бұрын
These are very professional and excellent quality tutorials. Keep up the good work!
@Louis-ko4yq
@Louis-ko4yq 3 жыл бұрын
Great work, the overall quality of the video is really high, please continue :)
@Foxyzier
@Foxyzier 3 жыл бұрын
the simplest and most understandable video on that topic thanks
@cristhiancantillo4922
@cristhiancantillo4922 2 жыл бұрын
Short and clear. Nice vídeo man
@Trashloot
@Trashloot 2 жыл бұрын
So much good information in such a short video. Just wow.
@thatsalot3577
@thatsalot3577 2 жыл бұрын
This video is a gem, small but extremely valuable.
@bifrostbeberast3246
@bifrostbeberast3246 4 ай бұрын
Conscise, precise and short. Sir, you have mastered the art of tutorials and I am eternally grateful!
@INeatFreak
@INeatFreak Жыл бұрын
Quick and accurate! Great video 👍
@PedroL.Rosario
@PedroL.Rosario 2 жыл бұрын
Really nice, tutorials for enhance the game performance is one of my favorites, very useful!
@jamesthiel5721
@jamesthiel5721 2 жыл бұрын
Nice thank you, this is very clear, easy to understand and successfully removes doubts on the subject.👍🏼
@raploky
@raploky Жыл бұрын
I CAN'T EXPLAIN HOW EFFICIENT IT IS! THANK YOU!
@andreidaniel687
@andreidaniel687 Жыл бұрын
Thank this is amazing I've been looking for something like this for a while now!
@nikbivation
@nikbivation Жыл бұрын
thank you for this! so much info in so little time
@howtogamedev_
@howtogamedev_ Жыл бұрын
This was really cool, finally got to know why batching
@limsengyong2122
@limsengyong2122 2 жыл бұрын
very well-explained, thanks for the tips!
@ObviousDev
@ObviousDev 3 жыл бұрын
Great tutorial! Very underrated channel in my opinion :)
@ArranAsh
@ArranAsh 2 жыл бұрын
Thank you so much, my game had a lot of belts in it and this was a great way of cutting down usage
@marshallross3373
@marshallross3373 Жыл бұрын
Great tips! Thanks!
@TobeasJ
@TobeasJ 3 ай бұрын
Very clean and easy to understand.
@GabrielDias0223
@GabrielDias0223 2 жыл бұрын
Incredible video, thank you so much!
@Sail_VR
@Sail_VR Жыл бұрын
SO USEFUL THANK YOU!!!
@kedidjein
@kedidjein Ай бұрын
i learnt more with your video than a lot of time on unity docs and asset store...thanks a lot perfect explanations
@specialgorilla
@specialgorilla 2 жыл бұрын
Dang I had no idea this was even a thing! Fantastic tutorial
@mimsii4200
@mimsii4200 4 ай бұрын
Really cool, thanks!
@FireFox64000000
@FireFox64000000 11 ай бұрын
Woah nelly this is going to be so useful.
@liulinzhifu
@liulinzhifu 2 жыл бұрын
very informative, thank you!
@bambusz0131
@bambusz0131 2 жыл бұрын
Very good and helpful! Thanks!
@IslamAudioStation
@IslamAudioStation 2 жыл бұрын
Very important and very helpful lesson.
@gabangang5093
@gabangang5093 3 жыл бұрын
Nice tips, 800th subscriber. :D
@luizfellipe1206
@luizfellipe1206 3 жыл бұрын
Very intuitive instructions 10/10
@yatah
@yatah 2 жыл бұрын
Very clear and helpful vid! thx!
@Juss_Chillin
@Juss_Chillin 2 жыл бұрын
Thank youuu, I needed this soooo much for my mobile app! So, thank you ^-^
@HonorLone
@HonorLone Жыл бұрын
short and informative thanks!
@shobeon
@shobeon Жыл бұрын
What a nice tips! gonna try it
@glebparshikov1351
@glebparshikov1351 Жыл бұрын
That is brilliant. Finally, I understand!
@schizoscope8703
@schizoscope8703 2 жыл бұрын
Thanks for clear explanantion!
@squonkbot9487
@squonkbot9487 2 ай бұрын
It's men like you that make the world a better place, I watch tons of videos on the same thing but you broke it down simple and easy to digest.
@AndrewDreamKeeper
@AndrewDreamKeeper Ай бұрын
thnks dude! powerfull information 👍
@kevinramirez-rq8sy
@kevinramirez-rq8sy 2 жыл бұрын
Very well explained!
@aaronjenkins2225
@aaronjenkins2225 2 жыл бұрын
i wish i saw this video months ago, great advice!!!
@aussieraver7182
@aussieraver7182 2 жыл бұрын
This is amazing!
@faiqali4915
@faiqali4915 3 жыл бұрын
The only good video about batches on youtube
@Banaaani
@Banaaani Жыл бұрын
Thanks. This is insanely helpful.
@onemanonmars6478
@onemanonmars6478 Жыл бұрын
Great video! Thanks-
@jonajo261
@jonajo261 2 жыл бұрын
GREAT VIDEO MAN
@TruGameRage
@TruGameRage Жыл бұрын
wow this was informative! thanks a lot
@disdathit
@disdathit 2 жыл бұрын
Nice vid, thanks 😊
@ZeroStas
@ZeroStas 9 ай бұрын
Perfect tutorial
@oozly9291
@oozly9291 3 жыл бұрын
Great help!
@in801fo5
@in801fo5 2 жыл бұрын
Thank you, keep up the good work! :)
@ClintochX
@ClintochX 7 ай бұрын
Thanks so much for this video
@gameplayhubindia
@gameplayhubindia 2 жыл бұрын
Awesome Tutorial
@UnityTrap
@UnityTrap 2 жыл бұрын
Awesome video 👍
@narendrakumarjha734
@narendrakumarjha734 Жыл бұрын
you saved me. thanks man!
@bhattacharjeesantanu
@bhattacharjeesantanu 3 жыл бұрын
Totally awesome channel !!!!!!!💥💥💥💥💥💥💥💥
@FireJojoBoy
@FireJojoBoy 2 жыл бұрын
This is optimization-heaven
@ThefamousMrcroissant
@ThefamousMrcroissant Жыл бұрын
This is a very nice format to explain performance though: gradual improvement.
@user-uk9er5vw4c
@user-uk9er5vw4c Жыл бұрын
awesome!
@Jicefrost
@Jicefrost 2 жыл бұрын
thx! Usefull video!
@gddhyper4913
@gddhyper4913 Жыл бұрын
Back after lots of months and now i understand
@StarkTech47
@StarkTech47 Жыл бұрын
Awesome video, short, detailed with very good explanations and demonstrations, great job ! I have a question, for the GPU instancing on the material. We see in the video all building moving but how did you do that ? I suppose it thanks to compute shaders or by C# script ?
@dertobbe1176
@dertobbe1176 Ай бұрын
You accidently exolained what happened to my scene. Ty I got it ans will make use of it ❤
@ELEMENTLHERO
@ELEMENTLHERO Жыл бұрын
Best 5 min ever spent!
@captaincommando9839
@captaincommando9839 Жыл бұрын
insanely useful considering i was using multiple materials for flat coloring instead of just using a texture.
@a6gitti
@a6gitti 2 ай бұрын
thanx for these tips
@jusdoit967
@jusdoit967 2 жыл бұрын
Thank you man i wish if i saw your video before now
@Foxtrot6624
@Foxtrot6624 8 ай бұрын
Absolutely fantastic. I had no idea that marking an object as static actually did anything without scripts or rigid body’s applied to them
@baldipogchamp8926
@baldipogchamp8926 2 жыл бұрын
Been making jam games in unity for 2 years now, did not realise how important the Static tickbox was. Never used it before, changing that now!
@regys9521
@regys9521 2 жыл бұрын
GREAT CONTENT
@QuestTaker
@QuestTaker 3 жыл бұрын
Thank you for the guide! Super easy to understand, entertaining, and you have a sexy voice. You have it all man keep it up!
@Nightmare_Developer
@Nightmare_Developer Жыл бұрын
Loved it !! when i was about to upload my game i searched this and all the top results were just making the game look like potato 🥔 and today i found this video :) honestly KZfaq should push this video more...
@galan4173
@galan4173 3 жыл бұрын
Nice vid!
@albertusbodenstein1976
@albertusbodenstein1976 3 жыл бұрын
Thanks man! ~!you LEGEND you!
@mohammedmurad7725
@mohammedmurad7725 2 жыл бұрын
Thanks, REALLLLLY THANKSSSS.
@MrZazzy
@MrZazzy 3 жыл бұрын
Tysm, you deserve 1k Subs :)
@potaterjim
@potaterjim 2 жыл бұрын
But what about occlusion culling? If you've got an interior level made up of several walls and rooms, is it better to user lots of smaller meshes and occlusion culling? Or what about the middle ground: making each room a large static object, and then using occlusion culling to turn off entire rooms at a time?
@ethankendall7575
@ethankendall7575 Жыл бұрын
Thanks this means a lot to me when I am developing on a Intel i5 2gb gpu appreciated
@DARK_AMBIGUOUS
@DARK_AMBIGUOUS Жыл бұрын
Please make more videos about optimizing your games to make them run smoother, thank you
@unknownx4295
@unknownx4295 3 жыл бұрын
Thanks, it helped
@suicune2001
@suicune2001 2 ай бұрын
Thank you! One of the reasons I'm hesitant to try 3D is because I'm worried about performance. 2D is just so much easier and you don't need to worry about performance as much.
@MAINRAGAMES
@MAINRAGAMES Жыл бұрын
hatur nuhun bang. ilmunya mudah dipahami dan singkat
@farukonder8937
@farukonder8937 2 жыл бұрын
Thank you :)
@kurtdevries9182
@kurtdevries9182 2 жыл бұрын
the ultimate guide to go from seconds per frame to frames per second.
@MrZazzy
@MrZazzy 3 жыл бұрын
Amazing Vid, 824th Subscriber
@miaan9374
@miaan9374 2 жыл бұрын
Thanks bro
@missing_the_texture
@missing_the_texture Жыл бұрын
thank you
@Mikelica69
@Mikelica69 3 жыл бұрын
Thanks!!!
@kennethbailey9802
@kennethbailey9802 2 жыл бұрын
Thanks
@KiliGraphics
@KiliGraphics 2 жыл бұрын
Cool
OPTIMIZE your Unity game using these performance tips | Tutorial
11:20
Sasquatch B Studios
Рет қаралды 10 М.
What I Did To Optimize My Game's Grass
8:13
Acerola
Рет қаралды 125 М.
My little bro is funny😁  @artur-boy
00:18
Andrey Grechka
Рет қаралды 12 МЛН
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
Динамическая оптимизация в UNITY! GPU instancing
7:40
Яковлев Илья - IT и игры
Рет қаралды 20 М.
How Do Games Render So Much Grass?
15:52
Acerola
Рет қаралды 319 М.
Unity GPU Instancing in less than 7 minutes!
6:56
Flaroon
Рет қаралды 37 М.
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,4 МЛН
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,4 МЛН
Оптимизация игр на unity. Material instancing
8:19
Максим Крюков
Рет қаралды 18 М.
This Problem Changes Your Perspective On Game Dev
25:51
Jonas Tyroller
Рет қаралды 355 М.
Adding This One Thing Made my Game Look 327% Better
6:11
OverPhil Dev
Рет қаралды 84 М.
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 451 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,4 МЛН
My little bro is funny😁  @artur-boy
00:18
Andrey Grechka
Рет қаралды 12 МЛН