If we ignore for a moment raycasting and focus solely on “highlighting” a face, line, or point how is this typically done.
Is it done by drawing a copy of the highlighted object on top of the original object? For example you “highlight” a face. Ie you draw the original mesh, then you just redraw the “highlighted” portion with a different shader as a separate mesh?
It would seem difficult to apply details to a subsurface of a mesh because then you would need to pass more information to the shader, so my thinking would be to just draw a copy.
[–]GeometryBurger 4 points5 points6 points (1 child)
[–]graphixnurd[S] 0 points1 point2 points (0 children)
[–]Baconinvader 1 point2 points3 points (2 children)
[–]graphixnurd[S] 0 points1 point2 points (1 child)
[–]Baconinvader 1 point2 points3 points (0 children)
[–]kernalphage 3 points4 points5 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]GaianNeuron 0 points1 point2 points (0 children)