Shader Property issue.

I'm having an issue with getting a shader to work in unity. (Decal Framework- blood flow).

Errors to the console all are similar to "Material doesn't have a texture property '_RampMap' UnityEditor.DockArea:OnGUI()"

Also for _MainTex, _SourceBumpMap, _Shininess, _SpecColor, and _Color

However the shader has these lines in its properties.

Properties {

_Color ("Main Color", Color) = (1,1,1,1)

_SpecColor ("Specular Color", Color) = (0.5, 0.5, 0.5, 0)

_Shininess ("Shininess", Range (0.01, 1)) = 0.078125

_MainTex ("Base (RGB) FluidHeight (A)", 2D) = "white" {}

_SourceBumpMap ("Bumpmap of source surface(RGB)", 2D) = "bump" {}

_RampMap ("Blood Ramp Map",2D) = "white" {}

}

Why can I not add this shader to a new material?

I got this error trying to write the CGPROGRAM part (which you may not even have, which is fine.) It was because I needed to (re?)declare `_SecondaryTex`, down below.

If you have a CGPROGRAM part, you should see `sampler2D _MainTex;` down there. Add a similar line for your new texture.