Per-pixel shading in the fragment shader instead of per-vertex in the vertex shader
This commit is contained in:
parent
4d61d05f4d
commit
59697dbb51
2 changed files with 13 additions and 19 deletions
|
@ -134,8 +134,6 @@ class Terrain: NSObject {
|
|||
faceMidpointsBuffer = faceMidpointsBuf
|
||||
|
||||
super.init()
|
||||
|
||||
populateInitialFaceNormals()
|
||||
}
|
||||
|
||||
func generate(completion: @escaping () -> Void) -> Progress {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue