Performance surprise

Hi there,
i’ve found out that using material (with texture) produced by nme is pretty much more efficient than using standard material without any texture! I was a little bit surprised becouse i thought that using nme require more calculus.
I’m using this PG: https://playground.babylonjs.com/#2XUBKA#6
You can see the difference changing the value of line 6 let fromNme = false;

It’s a good news to me, but i’m curious to know why :slight_smile:

1 Like

Probably because StandardMaterial has to do more tasks (that you can turn off, like disabling lighting, etc…)
The force of NME is that you can totally built it to be just as what you need :wink:

2 Likes