logarithmicDepthToViewZ = ( depth, near, far ) => {

	// NOTE: we add a 'negate()' call to the return value here to maintain consistency with
	// the functions "orthographicDepthToViewZ" and "perspectiveDepthToViewZ" (they return
	// a negative viewZ).
	const exponent = depth.mul( log( far.div( near ) ) );
	return float( Math.E ).pow( exponent ).mul( near ).negate();

}
TSL function for converting a logarithmic depth value to a viewZ value.

@tsl
@function
@param {Node<float>} depth - The logarithmic depth.
@param {Node<float>} near - The camera's near value.
@param {Node<float>} far - The camera's far value.
@returns {Node<float>}