Hi everyone. I asked one question, but I can not solve it in any way: how to realize the effect similar to the flashbang grenade (as in CS:GO). And I do not need a white flash, but a solidification of the image and its disappearance with time.
You could put a scenecapture2d at the same place as the players camera, activate it for one frame when the flash bang goes off. Save this to a render target which you then put onto a widget over the players screen, then fade it out using an animation? There could be some way to make a material function to make a blur driven by some scalar parameter too?
The scenecapture2d itself is attached to the camera on the character and completely repeats its position and parameters.
As you might guess, the black area is a picture with scenecapture2d. But the prospect is rather strange. How to deal with this?