diff options
author | sanine-a <sanine.not@pm.me> | 2020-12-09 00:39:45 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-12-09 00:39:45 -0600 |
commit | f64bdd048d6d8f338272326c437a86df2990b426 (patch) | |
tree | f5c90338e90c82cf92ca111171a7d93ab0d95486 /demo/SpatialShader.lua | |
parent | 218933e98ae869ffc1a6f7e182995a21e8b42c5a (diff) |
refactor: move primitives into lua & streamline mesh creation
Diffstat (limited to 'demo/SpatialShader.lua')
-rw-r--r-- | demo/SpatialShader.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/SpatialShader.lua b/demo/SpatialShader.lua index 0c65176..b15859f 100644 --- a/demo/SpatialShader.lua +++ b/demo/SpatialShader.lua @@ -3,7 +3,7 @@ local VertexCode = [[ layout(location = 0) in vec3 position; layout(location = 1) in vec3 normal; -layout(location = 2) in vec2 uv; +layout(location = 4) in vec2 uv; uniform mat4 model; uniform mat4 view; |