tambarskjelve / scenekit-outline-technique

A recreation of the last example from my objc.io SceneKit article, using SCNTechnique.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SCNTechnique example

This is a recreation1 of the last example from my objc.io SceneKit article.

It's a fairly small two pass SCNTechnique that draws dark lines where there are "sharp" differences in depth or surface normals.

I don't intend for it to be anything more than an example, for learning purposes.

A blue bishop (chess piece) with black outlines


  1. I was sloppy and lost the original code 😕

About

A recreation of the last example from my objc.io SceneKit article, using SCNTechnique.

License:MIT License


Languages

Language:Swift 66.9%Language:GLSL 33.1%