From 58f59baaf5c2101d525491a52ecf62399731244b Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 14 Nov 2018 08:09:41 -0800 Subject: [PATCH] Reduce the texture size to 129 square --- Terrain2/Algorithms.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terrain2/Algorithms.swift b/Terrain2/Algorithms.swift index c489ca1..451c4fc 100644 --- a/Terrain2/Algorithms.swift +++ b/Terrain2/Algorithms.swift @@ -334,7 +334,7 @@ public class DiamondSquareGenerator: TerrainGenerator { class var textureSize: MTLSize { // Needs to 2n + 1 on each side. - return MTLSize(width: 513, height: 513, depth: 1) + return MTLSize(width: 129, height: 129, depth: 1) } var roughness: Float = 1.0 {