GpuDepthMap got templated