i've once posted such a shader. you might search this forum.