3 Alpha Blended Textures

Hi!
Currently I’m using the following shader that blends 2 textures.

Shader "2AlphaBlendedTextures" {
	Properties {
        _MainTex ("Alpha Blended (RGBA)", 2D) = "white" {}
        _BlendTex ("Alpha Blended (RGBA)", 2D) = "white" {}
    }
    SubShader {
		LOD 200
		Alphatest Greater 0.5
		ZWrite On
		ColorMask RGB
    
        Pass {
            // Apply base texture
            SetTexture [_MainTex] {
                combine texture
            }
            // Blend in the alpha texture using the lerp operator
            SetTexture [_BlendTex] {
                combine texture lerp (texture) previous
            }
        }
    }
}

What I need is something like that shader but that may blend up to 3 textures. Is it possible? does anyone know where I can find it?
Thank you very much.

Yes, you can do this quite easily yourself:

  1. Add another texture property to the Properties block
  2. Duplicate the second SetTexture block, but have it reference the new texture instead of _BlendTex

Thanks Daniel, it was easy and it worked!