All in one shader

 

Are there any shader have all the options like Reflection  ,Specular ,Diffuse ,Normal ,UV world mappin ,Rim Lighting,etc?

so if i need any effect simply we activate this option only but not changing the shader.

maybe something like this

https://forum.unity.com/threads/released-shaderone-one-shader-to-rule-them-all.552274/



   ahmed ahmed

 
Profile Image
Aximmetry
  -  

The closest thing to that is Imp_General.xshad.   It's the shader that is used by default when you import models with materials.
However it does not have Rim Light,

 
Profile Image
ahmed ahmed
  -  

I think that Imp_General.xshad shader dont have displacement ,bump ,mirror and  IBL textures and options .

also can this shader support layering of shaders or mix textures ?

 
Profile Image
Aximmetry
  -  

In Aximmetry it would be very inefficient to use such a giant shader.
Instead please always choose the minimal one that fits your current need.

The  Mix_*  shaders can mix two layers of textures controlled by a third texture named Mix Map that determines the mixing.
If you need a mix of more texture you have to create your own shader based on the existing ones.

 
Profile Image
ahmed ahmed
  -  

I think if the users can turn off or on shader options is more efficient than changing shaders when you need some specific  feature.

Also i think this will help users that came from other 3d softwares and have working with these software material System like C4D or Max ,ETC

 
Profile Image
Aximmetry
  -  

We believe that the benefit of such tool would not be that big, but we will consider it. Thank you.