Announcement

Collapse
No announcement yet.

Performance difference between material vs material instances?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Performance difference between material vs material instances?

    I'm curious if there are any performance differences in shipping builds of levels built with materials, vs material instances?

    I get that there are editor performance differences (shader compile times) and quality of life improvements (instant visual feedback), but what about shipping builds?

    Perhaps a memory overhead, but does anyone know if there's also a potential framerate impact on a final built executable?

    #2
    Materials are "converted" to Material Instance if you put them into a Slot of a Mesh.
    They are just Material Instances with the Default Parameters.

    Comment


      #3
      Got it, so material instances in the editor are purely a developer convenience then. Thank you!

      Comment


        #4
        Each material generates its own separate shader, so using instances helps reduce build size and memory consumption since they all share the same underlying shader.

        Comment


          #5
          Here is the real answer: https://youtu.be/edZo8PC5SYc?t=310

          Comment

          Working...
          X