Vector for Camera Direction
You could use camera distance instead, that way it dynamically adjusts transparency relative to camera position dynamically.

Just use the Input > Camera Data node instead. Some math nodes to adjst the factor may be needed.