Tag Info

New answers tagged

0

There is a chance that your depth value calculation is wrong. The way the GPU's are calculating the depth values is not that simple. For example if we take a point right in the middle between the near and far planes of the camera, the depth value is not 0.5 . You can refer to this post by Steve Baker to see how you can calculate the depth value: ...



Top 50 recent answers are included