Playin with the camera an the roughness

This commit is contained in:
Eryn Wells 2018-11-26 08:37:53 -08:00
parent 1a32b8e085
commit 5d3276ab03
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ class Renderer: NSObject, MTKViewDelegate {
camera.nearVisibilityDistance = 0.1
camera.farVisibilityDistance = 100
camera.focalLength = 35
camera.look(at: float3(0), from: float3(0, 2, 8))
camera.look(at: float3(0), from: float3(0, 5, 12))
populateLights()
populateMaterials()

View file

@ -109,7 +109,7 @@ class Terrain: NSObject {
print("Couldn't create algorithm")
return nil
}
gen.roughness = 0.05
gen.roughness = 1.0
generator = gen
do {