2016-05-13 62 views

回答

0

因爲SceneKit有OpenGL的根,所以你可以在SceneKit中複製最簡單的OpenGL材質。例如,參見https://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/Every_Material_Known_to_Manhttp://devernay.free.fr/cours/opengl/materials.html

Simon Gladman在Github上有一個簡單的SceneKit材質編輯器,如果您要修補的話:https://github.com/FlexMonkey/SceneKitMaterialEditor

更復雜和逼真的外觀材料通常需要使用着色器。我不知道SceneKit着色器庫。