Is it possible to combine Sprite and CSS2DObject features?

The feature I need Sprite CSS2DObject
Always face to camera :white_check_mark: :white_check_mark:
Always keep size (eg. 50px * 50px) :negative_squared_cross_mark: :white_check_mark:
Can be obscured by other objects :white_check_mark: :negative_squared_cross_mark:

Is sprite attenuation not sufficient in your use case?

2 Likes

Doing so can indeed keep the size, but the size cannot be set in pixel units.

You’ve also got the option of using Points with PointsMaterial to which the materials size can be set in pixel units

Thanks for the reply, Points and Points Material may not meet my needs, I need to load image, and need to set the width and height separately.

You may want to update your question in this case as that’s not possible with sprites either afaik.