Add border for Text Object

Created Text with TextGeometry in Threejs, want to add a border for it, like this :

blue in the middle is the original text, red is the border.

Try troika-three-text project. It’s very nice, but seems no depth for text.

If you do not mind doubling the texts, you could mimic the border (change line 65 for another border size):

https://codepen.io/boytchev/full/JjgeyJE

image

2 Likes

Thanks very much. This is a very interesting solution, and it’s perfect when combined with three-bvh-csg

1 Like