This commit is contained in:
Eryn Wells 2018-11-04 08:07:17 -05:00
parent 4803620d4b
commit 18e9d078b0

View file

@ -37,6 +37,7 @@ vertex ColorInOut vertexShader(Vertex in [[stage_in]],
ColorInOut out; ColorInOut out;
// TODO: Concerned about this.
uint2 gridCoord(in.texCoord.x * heights.get_width(), in.texCoord.y * heights.get_height()); uint2 gridCoord(in.texCoord.x * heights.get_width(), in.texCoord.y * heights.get_height());
half4 height = heights.read(gridCoord).rrrr; half4 height = heights.read(gridCoord).rrrr;