We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to use shaders to draw points. I figured out that into shaders all the coordinates have values between -1 and 1, so I have to convert my PVector coordinates. For the X (0, width) and Y (0, height) values the operation is simple. How can I convert the Z coordinate?