I am writing shader for shadow map by reading Frank D. Luna's Direct3D11 book. In shadow map, in order to skip writing transparent pixels into shadow map, he uses this pixel shader:
But since I do not use effects11, I use this.
http://pastebin.com/zykr04tu (Pixel shader code separately)
^ But that doesn't work. I get this error: