Just implement/translate three.js's implementation http://blog.wolfire.com/2009/06/how-to-project-decals/ https://github.com/mrdoob/three.js/blob/master/examples/jsm/geometries/DecalGeometry.js
Just implement/translate three.js's implementation
http://blog.wolfire.com/2009/06/how-to-project-decals/
https://github.com/mrdoob/three.js/blob/master/examples/jsm/geometries/DecalGeometry.js