Quote:

Is this a plain .txt file saved as .fx???



jepp.
Quote:

Also, I know that shaders are written in HLSL, but how do you include the .fx file, written in HLSL, in your main c-script code???



The WIKI is your best friend with this! username/password: acknex