Three.js Optimization - Best Practices and Techniques

Поділитися
Вставка
  • Опубліковано 30 тра 2024
  • Are you struggling to get your Three.js scenes running smoothly? Performance optimization can be a daunting task, but in this video guide, we'll break it down step-by-step. We'll start with an overview of the key factors that can impact performance, including draw calls, geometry complexity, and texture size. Then, we'll dive into specific techniques you can use to optimize your Three.js scenes, such as mesh merging, color palettes, ORM textures and more. Finally we will look at two websites and analyze what are the techniques they used to have a fast performant experience.
    Useful Resources
    Blender GLTF Node guide
    docs.blender.org/manual/en/la...
    R3F Performance Monitoring
    github.com/utsuboco/r3f-perf
    React Three Fiber Examples
    docs.pmnd.rs/react-three-fibe...
    Mesh Transmission Material
    codesandbox.io/s/hmgdjq
    The Unconventional Gallery - Ruinart
    unconventionalgallery.ruinart...
    Kode Club - Merci-Michel
    www.kodeclubs.com
    Volkswagen Virtual Studio - VisStudio
    www.vw.com.mx/app/virtual-stu...
    Timestamps
    00:00 Introduction
    00:56 Understanding what's heavy
    01:54 Performance tracking
    03:05 Draw calls
    05:34 Materials
    08:06 Textures
    10:37 Shadows
    11:44 Post processing
    12:28 Case study

КОМЕНТАРІ • 37

  • @pandawoan
    @pandawoan Рік тому +3

    Incredible! Thanks so much. Looking forward to more! Super helpful stuff; optimization is always tough.

  • @heagandev
    @heagandev Рік тому +3

    Wow I learned a lot from this, and in a very digestible format as well. Thanks!

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

    This is great and very informative

  • @Superla
    @Superla 13 днів тому

    Such a good video about the process!

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

    Very useful video, thank you!

  • @vfxlord
    @vfxlord Рік тому +3

    I learned a lot from watching the video , I will definitely come back to this video in the future when I need to improve performance

  • @vrmeup
    @vrmeup 11 місяців тому

    Thanks for an interesting and educational video.

  • @amirsohail963
    @amirsohail963 11 місяців тому

    thank you
    we need more tutorial on optimization and technical parts and I have subscribed :)

  • @u_walk2251
    @u_walk2251 Рік тому

    nice overview ! thank you so much....and keep bringing such quality stuff. just don't stop

    • @ValentinCoding
      @ValentinCoding  Рік тому

      With this kind of comment how could I stop!! Thanks!

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

    Great video ! would love to see some optimisation tutorials also in a complete workflow ✨

  • @nastykingkurl4080
    @nastykingkurl4080 7 місяців тому

    Thank you so much! I was struggling to find out what makes my scene so slow, and it really was only the transmission. Which in the end i didnt even need, cause i solved it with transparent: true, & opacity. Went from 30fps back to 60fps

  • @Lalalandinseoul
    @Lalalandinseoul Рік тому +3

    This is what i needed !

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

    Great tutorial, thank you!

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

    Wow. So good content here. Congratulation. This will help a lot of people. 👏🏻👏🏻👏🏻👏🏻

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

      Thanks I really really appreciate the feedback ☺️

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

    Thank you very much for taking the time to make this video. As a software engineer currently dabbling in three.js. Regarding performance: There is always also chrome://tracing or about:tracing- a very potent profiler powering chrome lighthouse reports that can also break down webgl.

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

    Awesome video! One thing to note, SSAO, SSR, Bloom other post-processing effects are not expensive when using a deffered/semi-deferred rendering pipeline similar to the car configurator

    • @edmondbounasr8727
      @edmondbounasr8727 Рік тому

      whenever i turn on bloom , the fps drops and i loose performance !!

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

    Thanks for a video

  • @codevlogs9100
    @codevlogs9100 11 місяців тому

    A great information for a new 3D developer like me.

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

    need more videos pls !

  • @captainofthewhitetower
    @captainofthewhitetower 3 місяці тому

    Is there a guide on how to make realistic environment and a building? Also another guide for implementing threejs to html. Like making widgets for html and using it for the model like scaling or filterin

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

    This is soooooo important to understand but has only 16.754 views

  • @has.nguyen1753
    @has.nguyen1753 Рік тому +1

    Could you please attach the node guide link at 6:48? Thank youuuuuuu

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

      I updated the description and added the link, thanks for the suggestion!

  • @LakiLOOP
    @LakiLOOP Рік тому

    Is unconventionalgallery your work?

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

      No it is not! And I just realized I didn't cite the source for this reference. My bad, I updated the description!

    • @LakiLOOP
      @LakiLOOP Рік тому

      ​@@ValentinCoding it's such a nice project. Do you maybe know how they did reflections on the floor?

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

      @@LakiLOOP Probably a custom shader like the meshReflectorMaterial from pmndrs/drei