Implementation of a post process outline shader (ThreeJS, PlayCanvas)
added on 2022/11/18 @ 09:54:26 | 199 views| category: gamedev

This is the source code for How to render outlines in WebGL and Better outline rendering using surface IDs with WebGL implemented in ThreeJS and PlayCanvas. This renders outlines with a post-process shader that takes the depth buffer and a surface normal buffer as inputs, followed by an FXAA pass.