I might get slapped for this, but the cypher (sp?) engine (100 bucks like torque) comes with a very awesome WYSIWYG Shader designer. I believe it states on the website that it saves to .fx files. Might be worth checking out and asking on there forums if it works in general or just for cypher.