Closed russelgal closed 11 months ago
but the texture of one character is simply rendered there https://uinosoft.github.io/t3d.js/examples/#text_sdf what about the strings? tried to adapt classes from https://github.com/leochocolat/three-msdf-text-utils to t3d.js - unsuccessfully // so far I am an absolute beginner in webgl
Seems like a great solution. Thanks for sharing. However, porting it to t3d might take some time.
any ETA of msdf font/text shader? )
Maybe add a example in the next week or two.
merged to dev: https://uinosoft.github.io/t3d.js/examples/#text_bitmap @russelgal
For real-time rendering, please refer to this example: https://uinosoft.github.io/t3d.js/examples/#text_sdf. If you're asking about generating MSDF text resources, you can utilize third-party libraries such as: https://github.com/leochocolat/three-msdf-text-utils.