Without SSAA, the above runs fine, the label correctly appears when the mouse hovers the triangle. This is no longer the case when the line #ps.set_SSAA_factor(4) is uncommented (or enabled in UI).
Is there a transformation that needs to be applied to the screen_coords with SSAA enabled?
Incidentally, picking seems to work fine, as in the native "Selection" box shows the correct info when clicking on the triangle.
I am having trouble getting
screen_coords_to_world_pos
to work with SSAA on:Without SSAA, the above runs fine, the label correctly appears when the mouse hovers the triangle. This is no longer the case when the line
#ps.set_SSAA_factor(4)
is uncommented (or enabled in UI).Is there a transformation that needs to be applied to the
screen_coords
with SSAA enabled? Incidentally, picking seems to work fine, as in the native "Selection" box shows the correct info when clicking on the triangle.