Hi there !
I’m making a little tool for positioning gemstone instances on objects. I made a custom conduit to draw a circle and some text around my instances depending on their scale, and I’m quite happy with the result. Now the most outstanding issue is that when the definition geometry is a flat plane, there is Z-fighting with the surface on which the positioning occurs :
It doesn’t look nice and it’s distracting, so I’d like to fix this issue if possible.
I’m looking for advices and pointers, how would you handle this ?
Is there a way to access the vertex shader and offset the vertices of just these objects towards the camera ?
Or should I move the objects towards the camera in a CalculateBoundingBox conduit ? But then I would have to move them back in their initial position I imagine… If possible I would like to not change the objects state outside of the render pipeline.