Pass in the faceNormals

This commit is contained in:
Eryn Wells 2018-11-20 11:24:43 -07:00
parent 952204a5b6
commit a02726404c
3 changed files with 5 additions and 2 deletions

View file

@ -33,6 +33,7 @@ typedef struct
#pragma mark - Geometry Shaders
vertex ColorInOut vertexShader(Vertex in [[stage_in]],
constant packed_float3 *faceNormals [[buffer(BufferIndexFaceNormals)]],
constant Uniforms &uniforms [[buffer(BufferIndexUniforms)]])
{
ColorInOut out;