The technique to eliminate the transparent effect in drawline API when lines overlap in Godot 4 is to use the drawpolyline API instead of drawline. This can be done by passing an array of points to the drawpolyline function, which will draw a solid line connecting all the points in the array. By using this technique, there will be no transparency when lines overlap, and the lines will appear solid.
Asked: 2023-06-12 09:27:25 +0000
Seen: 20 times
Last updated: Jun 12 '23