See, this is exactly why you needed to explain in more detail. What you call a "torch" I call a flashlight.
I don't know if this would be the best way but one approach which comes to mind is basically a reverse shadow casting. You have a texture of a white circle on a black background and use that as a sprite set to "add" blend mode. This could be used to illuminate a circle on surfaces in your game. The actual cone of light could be done with alpha transparent geometry.
I don't know if this would be the best way but one approach which comes to mind is basically a reverse shadow casting. You have a texture of a white circle on a black background and use that as a sprite set to "add" blend mode. This could be used to illuminate a circle on surfaces in your game. The actual cone of light could be done with alpha transparent geometry.