Using Different shaders for different LOD for assets

HelionDark
polycounter lvl 2
in Unity
Is it Generally better to have same shader for all LOD of objects or its more viable to use multiple shaders with different size of texture maps?
Replies
-
Depends. Different shaders = more drawcalls. Different shaders also breaks batching. But if the lower LOD shaders are significantly faster then it could improve performance. You would need to test and profile it. I have used this technique on a racing game where I turned off nearly everything, even removing textures, for things in the far distance that were just silhouettes in fog.Different size texture maps is already done through mip-mapping.
-
Just read about mip-mapping, i think will stick with one good texture and use mip-maping. tnx