Was anyone able to get shadow casting done here?
Capture Scene Depth from Flashlight
If distance Flashlight : Pixel > Scene Depth, Mask out.
I have all the math in the blueprint and material right for a spotlight (complete with inverse square falloff, Lambertian diffuse, and various specular models), I just need to figure out how to align the render target to the scene properly. It needs to be aligned as if it was planar mapped from the flashlight onto the environment, and the FOV needs to match the angle of the light.