These are the default render parameters
This commit is contained in:
		
							parent
							
								
									e1ec7701ba
								
							
						
					
					
						commit
						44b5f46c9a
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -18,7 +18,7 @@ let alignedUniformsSize = (MemoryLayout<Uniforms>.size & ~0xFF) + 0x100
 | 
			
		|||
let maxBuffersInFlight = 3
 | 
			
		||||
 | 
			
		||||
let terrainDimensions = float2(10, 10)
 | 
			
		||||
let terrainSegments = uint2(5, 5)
 | 
			
		||||
let terrainSegments = uint2(100, 100)
 | 
			
		||||
 | 
			
		||||
enum RendererError: Error {
 | 
			
		||||
    case badVertexDescriptor
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -109,7 +109,7 @@ class Terrain: NSObject {
 | 
			
		|||
            print("Couldn't create algorithm")
 | 
			
		||||
            return nil
 | 
			
		||||
        }
 | 
			
		||||
        gen.roughness = 0.2
 | 
			
		||||
        gen.roughness = 0.075
 | 
			
		||||
        generator = gen
 | 
			
		||||
 | 
			
		||||
        do {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue