Hi,
I theoretically want to reconstruct a position from screen coordinates & depth values in a post processing stage. I want to do so, because I would like to measure how much pixels on the screen are covering e.g. 32 quants on an axis orthogonal to the view lookat axis at that very point in world space, whos pixel I am processing in the PP stage.
So, it would be cool if you could add the inverse of the matProj matrix to the list of transformation matrices, also accessible through shaders, that would be then matProjInv.
I know that I could use mat_inverse on matProj and pass it e.g. via matMtl or mat_effect1 ... mat_effect8... but I also thought that the addition of matProjInv would make sense. Isn't it?
Last edited by HeelX; 07/30/11 20:35.