I’m trying to get an effect to apply inside a 3D line shape.
I have a line which is drawn in space - 3d points - and I would like to draw a different color / apply a shader to the pixels inside the shape from the viewport of the camera.
See demo here - bare bone.
My hint would be to use a shader which applies to the whole scene and process every point of my line and check if the pixel is inside or outside the line?
I’m not sure how to proceed, :(.