Hi,
I am trying to combine a custom shader with the default Bumped Specular shader. My custom shader is similar to this example code from the documentation:
Shader "Examples/2 Alpha Blended Textures" {
Properties {
_MainTex ("Base (RGB)", 2D) = "white" {}
_BlendTex ("Alpha Blended (RGBA) ", 2D) = "white" {}
}
SubShader {
Pass {
// Apply base texture
SetTexture [_MainTex] {
combine texture
}
// Blend in the alpha texture using the lerp operator
SetTexture [_BlendTex] {
combine texture lerp (texture) previous
}
}
}
}
My goal with this is to take a base color like so:

Then overlay a texture on top of it that contains transparency:

To create a new texture that combines both of them:

The code above can get me to this point, but I want to combine this functionality with the Bumped Specular shader. Any suggestions would be greatly appreciated.
Thanks!