I’m trying to create a “Wolfenstein 3D” style raycaster on a widget in UE5 Blueprints. I have everything working, which I did using the draw functions in the “On Paint” function. Now I’m trying to add textures to the lines on the raycaster, but the built in Draw Line node doesn’t work for this. I’m working on making a custom node in c++ that could take a texture and a position along the texture and set that as the colors to draw on the line. Is this the most efficient way, and if not what’s an easier way of doing this? I’ve thought about using the “Draw Box” node instead because it uses brushes which can have textures, but I’m not sure how I’d get a specific sliver of the texture to be drawn based on the length along the wall. Any advice?