Post marked as solved
Post marked as solved with 4 replies, 2,334 views
The "What's New in SceneKit" presentation from WWDC 2017 shows how to set material.displacement.contents to a height map PNG in order to make a plane reflect the elevation profile of a volcano. I haven't been able to reproduce the desired effect, so I'm wondering if iOS 11.0 doesn't support it yet.Has anyone had better luck?material.displacement.contents = "volcano-height-map.png"
material.displacement.textureComponents = .redhttps://developer.apple.com/documentation/scenekit/scnmaterial/2867516-displacement