PBRMetallicRoughnessMaterial Vs PBRMaterial performance

I was wondering if there are any performance considerations when choosing between a PBRMetallicRoughnessMaterial and a PBRMaterial assuming the effect that you wish to achieve is achievable using just the PBRMetallicRoughnessMaterial material.
In addition, does turning on or off of the additional features of the PBRMaterial change the performance of the material?


There are no perf differences between both of them (one is just a simpler view of the other).

Turning on/off effect will nevertheless have an impact as the more effects are at play the more code needs to run in the shader ending up requiring more perfs.

Hope that helps,

Great, thanks for the info :+1:

1 Like