Per-pixel shading in the fragment shader instead of per-vertex in the vertex shader

This commit is contained in:
Eryn Wells 2018-11-20 20:14:43 -07:00
parent 4d61d05f4d
commit 59697dbb51
2 changed files with 13 additions and 19 deletions

View file

@ -134,8 +134,6 @@ class Terrain: NSObject {
faceMidpointsBuffer = faceMidpointsBuf
super.init()
populateInitialFaceNormals()
}
func generate(completion: @escaping () -> Void) -> Progress {