Performance: glb vs manual materials

Hello guys,

I am curious about the performance of creating materials. With performance I mean the time babylon needs to create the scene so the user is able to interact with it.

Method 1:
I load a glb file that includes the object, materials and textures.

Method 2:
I load a glb file that includes just the model and I create the materials based on different textures manually.

In my opinion I have more control if I create the materials in my babylon code so I would prefer method 2. but since the textures are not included in the glb file the user requests all textures separated. Does it make any difference for execution time?

Best

I think having separate http gets for each texture would mask any cpu change. Not consistently faster or slower. Just more irregular than imbeded textures.

Think you are just going to have to try it

1 Like