PAINTER'S ALGORITM - Ep27

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

КОМЕНТАРІ • 7

  • @spidermanlift4527
    @spidermanlift4527 Рік тому +1

    In my UI framework that I am making, I use something similar, however I don't sort them. I use the depth buffer in DirectX to do it for me, and I just store a depth.

  • @allmath1172
    @allmath1172 11 місяців тому +1

    Great tutorial! I feel like it might be worth pointing out that your game will crash if you don't check if your GameObject, Skeleton, and Building arrays are null before trying to render because you'll try iterating over a null array. I was following the tutorial and noticed that my game mysteriously crashed whenever I walked over a specific part of the map-- it turns out I was walking over the door and the game crashed since the Building and GameObject arrays were set to null for the indoor map I believe. Hope that saves someone some troubleshooting!

  • @Flo-be8vp
    @Flo-be8vp Рік тому +1

    Not last but not second

  • @SkeWaBalkan
    @SkeWaBalkan Рік тому +2

    Second but not first

  • @VMVladVMV
    @VMVladVMV Рік тому +1

    first but not the last

  • @yololongtime9611
    @yololongtime9611 Рік тому +1

    Forth, but not third.