Playin with the camera an the roughness
This commit is contained in:
parent
1a32b8e085
commit
5d3276ab03
2 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ class Renderer: NSObject, MTKViewDelegate {
|
||||||
camera.nearVisibilityDistance = 0.1
|
camera.nearVisibilityDistance = 0.1
|
||||||
camera.farVisibilityDistance = 100
|
camera.farVisibilityDistance = 100
|
||||||
camera.focalLength = 35
|
camera.focalLength = 35
|
||||||
camera.look(at: float3(0), from: float3(0, 2, 8))
|
camera.look(at: float3(0), from: float3(0, 5, 12))
|
||||||
|
|
||||||
populateLights()
|
populateLights()
|
||||||
populateMaterials()
|
populateMaterials()
|
||||||
|
|
|
@ -109,7 +109,7 @@ class Terrain: NSObject {
|
||||||
print("Couldn't create algorithm")
|
print("Couldn't create algorithm")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
gen.roughness = 0.05
|
gen.roughness = 1.0
|
||||||
generator = gen
|
generator = gen
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue