Hi,
What is the formula to convert a z-coordinate to depth buffer value??
The values of the depth buffer goes from 0.0 to 1.0 and I want to convert every value of z-axis to this range.
Thanks.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more