Ok, I solved the problem.

The position has to be the projected space position, no the view space one.

Hope it helps,
Salud!