Im trying to simulate a 2D light reflection that bounces light off of a mirror but was unsure how to do it, ive managed to simulate lasers bouncing off of a mirror with raycasting and line renderers however wanted whole light sources like the image shows below, apologies that they are only concept images:
It really depends on how you want to go about doing this. the easiest method i can think of, right now, would be to use a custom, procedurally created mesh and just update the mesh as often as you need to. another option may be a custom shader, however i dont know if it is possible to do a reflection as seen in the images above exactly like that as im not really good at coding shaders…
I’d recommend using the LineRenderer for this. The line thickness can be as wide as the light source, and get wider as it goes, and you can give the line a gradient to fade off with distance. Just use the default sprite material with it. If you need to get even fancier you can supply your own material.