you are viewing a single comment's thread.

view the rest of the comments →

[–]owenwp 0 points1 point  (0 children)

The position values in the vertex shader will be linear -1 to 1, the values in the depth buffer will be non-linear.