This is a follow-up to another question I had, i'm making a plugin for someone that adds easy outlines, and I decided that a post-processing effect would be much better than an additional shader added to the geometry. However, i'm not sure how I would write a screen shader for the preview/renderer, there's stuff on the Three.JS website but none of that seems to apply to Blockbench.
#Post Processing Shaders for Preview & Renderer?
6 messages · Page 1 of 1 (latest)
I'd probably look around for an example, but I don't think there are that many for BB
Here's an old SSAO plugin though:
https://github.com/JannisX11/blockbench-plugins/blob/master/plugins/ambient_occlusion.js
You might've already stumbled upon this but here's Three.js documentation for their post processing workflow:
https://threejs.org/docs/#manual/en/introduction/How-to-use-post-processing
👍