Included <algorithm> for std::max to compile on linux
EVSM implementation resolves directly from z-buffer now