look up the face wound hlsl tutorials, and then take a quick look over the manual (under the effect command) that should help you at least get started.