Optimization Tutorial: OCCLUSION CULLING in Godot

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 29

  • @Zenva
    @Zenva  10 місяців тому +1

    Access COMPLETE COURSES on Godot here: academy.zenva.com/product/godot-open-world-gaming-academy/?

  • @_starshade_
    @_starshade_ 7 місяців тому +26

    Even without the custom occlusion, with the default bake, one of the reasons your FPS was so low with the initial occlusion baking was because the debugger outlines. So while the custom occlusion is a great remediation, you can also turn off the debug lines and see a dramatic improvement in the FPS as well!

  • @abhishek-farswan
    @abhishek-farswan 4 місяці тому +11

    Bro this theme looks crime. Btw cool tutorial

    • @Zenva
      @Zenva  4 місяці тому +1

      Noted on the theme! We’re making the switch to dark mode in our new tutorials.

  • @theyellowarchitect4504
    @theyellowarchitect4504 Місяць тому

    Excellent video. Covering all use-cases and wrong usage, to then show proper usage was great. Showing that "we use occluder but get 50 FPS", at 5:30 I thought you were going to say "lets make our own custom occlusion culling"

    • @Zenva
      @Zenva  Місяць тому

      Glad you appreciated the depth of the tutorial. Your feedback means a lot to us!

  • @matthewdee6023
    @matthewdee6023 2 місяці тому +1

    Concise and clear tutorial, thanks! Just subscribed :-)

    • @Zenva
      @Zenva  Місяць тому +1

      Welcome to the Zenva community! Glad you enjoyed the tutorial.

  • @chtholine
    @chtholine Місяць тому

    Hello! Could you please help with implementation of occlusion culling in grid maps? I place a lot of objects using grid maps but don't know how to add occlusion culling there

  • @bodie5383
    @bodie5383 19 днів тому

    does this work with gridmaps, im having a bit of trouble with it

  • @LMmemes99
    @LMmemes99 4 місяці тому +3

    How i can make this but with GridMaps?

    • @LucianA.Meister
      @LucianA.Meister 24 дні тому

      Should be the same proccedure... make sure all of your nodes are in the occ region (or what's it called)...
      Btw please correct me if i'm wrong :)

  • @askeladden450
    @askeladden450 7 місяців тому +14

    Noooo, why the light theeeeme
    Btw tutorial was really good, but i no longer have eyes

    • @Zenva
      @Zenva  7 місяців тому +5

      We've switched to dark mode to meet WCAG AAA accessibility standards. Get ready for more dark mode content on the channel over time! 🌑🌟

    • @MahdiGerami
      @MahdiGerami 2 місяці тому

      Haha. I personally like light mode. I used to like dark mode but if you're in a dark room and you do an alt+tab to a bright window, you're blind. But if everything is light, it's alright. I tried making everything dark mode too but some white pixel comes to blind you somehow.

  • @Sam-zw2kp
    @Sam-zw2kp 4 місяці тому +1

    Shouldn’t you make the occluder box bigger so the whole object fits into it?

    • @Definitely_a_Fox
      @Definitely_a_Fox 3 місяці тому +1

      Well, no. Not here.
      Since anything completely behind the occluder box will be hidden, you want the occluder box to take up as much space as you can without escaping the object. If there are any parts of the occluder box that are sticking out, Godot will think an object that is behind it is completely hidden from view before it is actually completely hidden, making it pop out of existence too early.

    • @Sam-zw2kp
      @Sam-zw2kp 3 місяці тому

      @@Definitely_a_Fox EDIT: Nevermind. The occuluder box works the other way around. Everything behind the box is hidden. I thought OTHER object that are in front of the box would hide the object that has the box attached to it.
      But isn't that exactly the problem you have when the box is too small? In the video the roof isnt inside the occluder box. So wouldn't that cause the roof to pop out of even though only the bottom part of the house is behind another object?

  • @LucianA.Meister
    @LucianA.Meister 24 дні тому

    Extremely helpful tutorial! serously! But what kind of menace are you to choose this engine theme 💀

  • @Drifter_dr
    @Drifter_dr 2 місяці тому

    Thank you 😊

    • @Zenva
      @Zenva  2 місяці тому

      You're very welcome! 😊 Glad to hear you enjoyed it!

  • @Verpa11
    @Verpa11 6 місяців тому +1

    Does this also Work with a simple voxel Cube gridmap? Like Minecraft?

  • @fake_sunner
    @fake_sunner 8 місяців тому +1

    Thank You SOOO MUUUUCH

    • @Zenva
      @Zenva  8 місяців тому

      You're very welcome! 😊

  • @erenenadream
    @erenenadream 6 місяців тому +2

    you made wrost performance and telling the optimization .d

    • @Zenva
      @Zenva  6 місяців тому

      Thanks for sharing your thoughts! What specific performance issues did you notice?

    • @theyellowarchitect4504
      @theyellowarchitect4504 Місяць тому +3

      @@Zenva he probably didn't finish the video, and left on the "we now have 50 FPS instead of 300 FPS"

  • @jasonwilliams8730
    @jasonwilliams8730 9 місяців тому

    👍