Use Occlusion Culling like a PRO | unity advanced tutorial

  Рет қаралды 56,809

Nerd Head

Nerd Head

Күн бұрын

You know how to use occlusion culling?
Do you want to be better at it?
Here you will learn everything there is to know about how to use occlusion culling. Using Area, Portals and more!
Join my discord:
/ discord
www.patreon.com/NerdHead?fan_...

Пікірлер: 42
@NF-pk5mo
@NF-pk5mo 2 жыл бұрын
Thank you so much, I had assumed backface threshold affected the geometry only, and not the bake data. I turned it back to 100 and it fixed all my issues!
@NerdHead
@NerdHead 2 жыл бұрын
I'm glad I could help😁
@GocoYT
@GocoYT 4 ай бұрын
Thank you - this issue was killing my frames in high object areas. I tried googling the issue for ages and finally found your video to help! :D
@ArjanDuijs
@ArjanDuijs 2 жыл бұрын
cheers man, lots of info. well done! ill need to view it a couple of times
@NerdHead
@NerdHead 2 жыл бұрын
Glad you love it😁
@Jimaniki
@Jimaniki Жыл бұрын
Thanks, your tutorials are very good, i hope you will continue
@NerdHead
@NerdHead Жыл бұрын
Thank you very much, I am still posting but slow.. Some cool stuff coming soon😁
@jonathandelgado2425
@jonathandelgado2425 Жыл бұрын
Great job explaining. Very useful video.
@NerdHead
@NerdHead Жыл бұрын
Thank you very much, if you need any other subject, let me know and I will make it😁
@hernandonj
@hernandonj 2 жыл бұрын
Excellent video, Thank you!
@NerdHead
@NerdHead 2 жыл бұрын
Thank you again😊 I really appreciate you going from one video to another. It lets me know that I am doing something right and gives me great motivation to make more videos😁🙏
@brsgames5087
@brsgames5087 Жыл бұрын
thank you!
@StillCisTho42
@StillCisTho42 Жыл бұрын
Thanks for the video dude, I´m making an isometric game and was under the impression the backface threshold was going going help me hide the back walls of my buildings but that doesn´t seems to be the case. I´m just gonna remove the back geometry directly in Blender. TY
@NerdHead
@NerdHead Жыл бұрын
Happy to help😁 You can look up LOD in unity, this might help you in your case
@BadBanana
@BadBanana Жыл бұрын
Occlusion portal That's what I needed man thank you I've got windows with custom transparent mesh renders
@NerdHead
@NerdHead Жыл бұрын
I an just working on a windows & mirror tutorial
@BadBanana
@BadBanana Жыл бұрын
@NerdHead actually it diddnt work in the end what I did was make the rooms non static so the insides weren't occluded. I wanted them to be excluded from rendering when miles out but this was a workaround I ended up settling for. Custom gfx can be cumbersome at times I'd be interested to see your window tutorial I have mirrors that work pretty well... Well... they're a bit wierd They render the reflection of the scene but not the character facing them I think real-time mirrors on mobile would be too heavy to have them all over the place considering how many I'd end up with in my city scene But yeah They work fine for what they are Cheers
@slendiv13
@slendiv13 Жыл бұрын
Thank you. You really made my life easier
@NerdHead
@NerdHead Жыл бұрын
Nice! What are you working on?
@slendiv13
@slendiv13 Жыл бұрын
@@NerdHead HDRP horror game. That's why I need a lot of optimisations 😂
@shyamarama
@shyamarama 2 жыл бұрын
Nice!
@NerdHead
@NerdHead 2 жыл бұрын
Thanks😁
@hieptranngoc2584
@hieptranngoc2584 7 ай бұрын
thanks
@Baddogz
@Baddogz Жыл бұрын
very under subbed channel, great job!
@NerdHead
@NerdHead Жыл бұрын
Thank you so much! Because of this comment I set down to finish a new video (next next one out is because of you 😁)
@watercat1248
@watercat1248 Жыл бұрын
thank but i still don't understand what is the occasion area one other thing is eny way to make wean player is insane in room to disable all the other rooms for the view ? (i know that is possible if i disable the room with code but what i say is if unity have system like this by default) in my game i have created a system for dynamic camera range before even learn abut Occlusion Culling the way this system works is pretty simple wean the player is in close area the see less and wean the player is in open area the see feather it very semple code this the triger eneter code private void OnTriggerEnter(Collider collision) { if (collision.TryGetComponent(out CameraDistans Distans)) { Distans.Viewview_Distance(ViewDistances); } } and this the code for you need to add to the player public Camera camera; public void Viewview_Distance(float ViewDistances) { camera.farClipPlane = ViewDistances; }
@Stumpy_VR
@Stumpy_VR 3 ай бұрын
when i do that it makes everything dissapear
@Disisameme
@Disisameme 11 ай бұрын
i did it like in the video but unity i still rendering object behind other objects, anyone knows how to fix it?
@hggyuu
@hggyuu 9 ай бұрын
Do you fix it? I'm making maze and camera still visualize itself view but it shouldn't render when I standing under wall and don't see nothing behind, but it still render all camera view ahead
@DwightPotvin
@DwightPotvin 2 жыл бұрын
I am unable to get this to work no matter what I try. I have the static set correctly, yet all I am getting is fulcrum culling. Small occlusee objects are not being culled out by large occluder objects. I have tried using occlusion areas and without them, same result.
@NerdHead
@NerdHead 2 жыл бұрын
Hey, can you please send more info (what setting are you using, an image of your scene, are you using any assets?) and I will answer you as soon as I can. You can send it in discord server discord.gg/sZmAkFXeRT
@hymus8627
@hymus8627 Жыл бұрын
When we bake it really work now right ? because when we exit visaulize mode it look like nothing change but when we play it actually change right ?
@NerdHead
@NerdHead Жыл бұрын
If it works in visualize mode, it will. You can enable and disable this and check to see if the game stats (fps and batches) changed
@hymus8627
@hymus8627 Жыл бұрын
@@NerdHead Thank you my fps really change from 70-90 to 110-130
@NikkiMcMistie
@NikkiMcMistie Жыл бұрын
I must be doing something wrong... My camera still renders through walls no matter what I put as the parameters. All objects are static and are both ocluders and ocludees
@NerdHead
@NerdHead Жыл бұрын
Aee you using external assets?
@NikkiMcMistie
@NikkiMcMistie Жыл бұрын
@@NerdHead Yeah. It seems that it only works for models that have backfaces as well, like unity cubes. I also did forget to click on bake for the static game objects so thats why nothing worked in the start lol
@hggyuu
@hggyuu 9 ай бұрын
​@@NikkiMcMistieSame problem, but I instisiate prefab walls on scene and then I can't bake it, it seems like it should be before starting scene, how to bake it after creating in play mode?
@NikkiMcMistie
@NikkiMcMistie 9 ай бұрын
@@hggyuu it should work after baking it in edit mode before generating the scene in play mode. worked for me in unity 2021 yesterday anyway
@pranaygarg6443
@pranaygarg6443 2 ай бұрын
@@NerdHead @NikkiMcMistie same problem, I am using external assets but I have marked them occludee static, but still they are rendering through walls
@levanan6824
@levanan6824 Жыл бұрын
Very nice!
@NerdHead
@NerdHead Жыл бұрын
Thank you!
Unity Occlusion Culling Tutorial
5:16
Freedom Coding
Рет қаралды 7 М.
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 195 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 17 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 60 МЛН
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 34 МЛН
how this game renders millions of blades of grass
5:03
Stylized Station
Рет қаралды 372 М.
Unity Code Optimization - Do you know them all?
15:49
Tarodev
Рет қаралды 186 М.
OPTIMIZE your Unity game using these performance tips | Tutorial
11:20
Sasquatch B Studios
Рет қаралды 11 М.
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 723 М.
Top 10 Tips To Optimize Your Mobile Game - Unity 3D
8:06
CG Dealers
Рет қаралды 36 М.
Watch This Before Working on a Big Game in Unity
18:44
John Leorid
Рет қаралды 293 М.
Unity Performance Tips: Draw Calls
4:24
Lofi Dev
Рет қаралды 184 М.
Much bigger simulation, AIs learn Phalanx
29:13
Pezzza's Work
Рет қаралды 2,7 МЛН
LA  CINTA NUESTRA HISTORIA
0:59
Santi
Рет қаралды 15 МЛН
REAL OR FAKE?
0:10
dednahype
Рет қаралды 1,4 МЛН
CAA Conversion kit at ZAHAL 🎯
0:14
Zahal Youtube
Рет қаралды 59 МЛН
SMART idea and very USEFUL 📱 #camping #survival #bushcraft #outdoors
0:14
Ăn Vặt Tuổi Thơ
Рет қаралды 30 МЛН
joga água e pula #funny #funnyvideo #shorts
0:17
Mundo de Alícia e Ana Clara
Рет қаралды 19 МЛН