Unity Products:Amplify Shader Editor/Z-Buffer Params
Z-Buffer Params Node
The Z-Buffer Params outputs data calculated from current camera's projection parameters which can be used to linearize Z-Buffer values.
Output Port | Description | Type |
---|---|---|
1-far/near | Value of 1 - far plane / near plane. | Float |
far/near | Value of far plane / near plane. | Float |
[0]/far | Value of ( 1 - far plane / near plane ) / far plane. | Float |
[1]/far | Value of ( far plane / near plane ) / far plane. | Float |