I've modified the LayerShader from Unify so that it maps two textures (with alphas) to one mesh using two different UV maps.
Is there any way I could modify it so that instead of combining MainTex with PathTex, it overlays MainTex over PathTex? The source is below:
asked Nov 03 '10 at 07:11 PM
You should really check the docs on Texturing in ShaderLab.
In the example there, they define a texture blend shader with
There are any number of kinds of functions you can use for combining textures and your use of terminology is unspecific.
Based on the fact that you have a "blend" property, it would seem you want to control using that property. I did something like that here.
or if you wanted it to be more of an additive combiner, you could do something like:
answered Nov 03 '10 at 07:48 PM