summaryrefslogtreecommitdiff
path: root/assets/shaders/cube.metal
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/cube.metal')
-rw-r--r--assets/shaders/cube.metal2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/shaders/cube.metal b/assets/shaders/cube.metal
index dc7ace1..93fa727 100644
--- a/assets/shaders/cube.metal
+++ b/assets/shaders/cube.metal
@@ -24,6 +24,8 @@ vertex VertexOut cubeVertexShader(uint vertexID [[vertex_id]],
{
VertexOut out;
out.position = transformationData->perspectiveMatrix * transformationData->viewMatrix * transformationData->modelMatrix * vertexData[vertexID].position;
+ // out.position = transformationData->modelMatrix * vertexData[vertexID].position;
+ // out.position = vertexData[vertexID].position;
out.textureCoordinate = vertexData[vertexID].texCoords;
return out;
} \ No newline at end of file