Pass in the faceNormals
This commit is contained in:
parent
952204a5b6
commit
a02726404c
3 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue