This terrain shader do that you want, in first stage shader draw alpha in terrain coordinates, then in next stage, draw color with transformation coordinates, also you can add this to shader for real alpha clamp AddressU[0] = Clamp; AddressV[0] = Clamp; (see terraintex.fx)