Hello,
i was experimenting with adding sprites to a scene and I am wondering how I can get them to be always rendered “above” the 3d content:
Here is a playground: https://www.babylonjs-playground.com/#IGQ023
In this one when adding a spot with the pointer, parts of the sprite get “swallowed” in the Mesh.
Thank you
I was also wndering how I could place the sprite a liitle bit more distant to the objects outer surface.
I guess I’d need to calculate a vector from the center of the mesh to the pointer position and then extend that a bit.
Or is there a built in function for that?
some kind of virtual hull or skin or “outline” ?
Thanks a lot.
Well the position extension does work indeed.
Putting the sphere in the same group however keeps hiding parts of the Sprite inside the mesh.