If you are using this method for 3D rendering, then you'd assign 1 to w instead of 0.