Hi there,
I wonder if it was somehow possible to ensure that a certain 3D object gets always drawn over the rest of the scene, regardless of its actual distance. Background is, I'm trying to implement a VR reticle which will be displayed as a circle drawn onto a 3D sprite and which will always be located so that its center matches the intersection point of a ray cast from the camera's origin towards the (local) -z direction with any object which happens to be in the ray's way. However, if the target object's surface is not exactly perpendicular to the ray, the reticle's drawing will be partially hidden by the object. In 2D, it can be ensured that HUD elements are always visible (i.e. drawn last) by using canvas layers, but there seems to be no such option for 3D scenes. Are there any alternatives?
Cheers -- Torsten