Hello everyone! We all know how our headlight is arranged in the game, from the point of view of creation it looks something like this: we take and put a beam of light in the headlight model, it lights up and everything works! But there is one problem, most likely you noticed that with the headlights turned on, if you put the camera on the side of the car, you will see this beam of light through the metal, although this should not be, you need to make metal a kind of obstacle to the light, I hope clearly explained, in addition to this, you can make more realistic lighting of the car headlights, what do you think?
what you're asking for does exist, it's known as ray-tracing. however, it's really computationally expensive, and the way the graphics are currently set up it would take a lot of work to implement. as for making the headlights "more realistic" could you be more specific?