"Amount of rays" = the number of rays cast out from your mouse position. More rays will lag more, so 150-200 is best. "Accuracy" = the number of steps moved before checking for a collision. Lowering this variable increases accuracy at the cost of performance. 5-8 is best. "Shadow" = how dim the light is. Increasing this variable lowers the light's brightness. Inspiration from @TM_'s "Light-Rays-Engine v 1.0", although I used my own scripts. This wasn't actually hard to make. I spent less than 30 minutes on it.