post the code.. it shouldnt be hard to convert to hlsl