take a look at the top of the shader-forum:
"Basic knowledge about shaders is recommended for posting in this forum. An online shader tutorial can be found under www.conitec.net/shaders."

is this the first shader you try to implement? Perhaps you should start with a terrain-shader oder something like this....