Open tsumli opened 6 months ago
Now, we use a render target of position to do lighting. However, the world position can be reconstructed using depth, screen space coordinates, and an inverse of the view-projection matrix.
Now, we use a render target of position to do lighting. However, the world position can be reconstructed using depth, screen space coordinates, and an inverse of the view-projection matrix.