-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Description
Description of the problem
When clipping like in https://threejs.org/examples/webgl_clipping.html, it would be nice to be able to define the style of the clipping: highlight borders, fill intersection, etc.
I know there are some solutions out there ([1], [2]), but would be awesome to be able to set it as a clip property somehow.
My use case it to "highlight" the intersection of the mesh and the clipping plane, in order to overlap nicely the intersection with the clipping plane filled with a texture:
Which would be the best way to follow to achieve such an effect? (in a nice clean/efficient way?) I'd be happy to write a demo with some guidance...
[1] - http://stackoverflow.com/questions/37090942/how-to-render-clipped-surfaces-as-solid-objects/37093210#37093210
[2] - http://stackoverflow.com/questions/36557486/three-js-object-clipping/36558152
