Hello I'm currently trying to flatten a mesh in the Z axis, my intention is that ive made a contour map in 3D, where the Z vertice values represent the values on the contour map. But I want to turn it 2D (flatten it) whilst preserving those Z values as the Z values are used for shader colouring later on. I've tried scaling it down to a small factor then multiplying out when I used a shader to colour it however it caused some Z fighting issues. I've also tried dividing the mesh down to a minute value with animation nodes to multiple out later for mesh colouring however with this way I cant seen to get the mesh flat enough, theres always a small bump.
Does anyone have any suggestion to a better way around this.