OmarShehata / webgl-outlines

Implementation of a post process outline shader in ThreeJS & PlayCanvas.
MIT License
376 stars 41 forks source link

publish NPM package #18

Open RodrigoHamuy opened 10 months ago

RodrigoHamuy commented 10 months ago

First of all, I love this repo! This is game changer for people building 3D design tools, thanks @OmarShehata :heart: !

I wanted to know if there are plans to publish this as an NPM package?

If there is interest and this is possible, I would love to have a look and prep a PR :)

Ideally, my aim would be to move this all the way to be included as a dependency in https://github.com/pmndrs/react-postprocessing in a similar way to how it was done for https://github.com/N8python/n8ao .

Thanks!

OmarShehata commented 10 months ago

@RodrigoHamuy sure! the way I was thinking of this is more as a complete example (with some debugging code in there for learning purposes) that developers could copy/paste into their own projects. But I can see it being useful to expose it as a package and developers can import the pass(es) they need.