Hit flash
The target flashes a colour for a moment. It works on meshes, skinned meshes and sprites, with any material and any shader, in Built-in, URP and HDRP.
How it works (and why your materials are safe) #
On the first hit Responsive FX makes a copy of each renderer (sharing its mesh, bones or sprite) drawn with Responsive FX's own flash shader just in front of the original. The copy shows only while flashing. Your materials, shaders and material slots are never changed, and a mesh with several materials flashes all of them.
Skipped, with the reason shown in Why No Feedback?: static batched objects (their mesh is merged into one), particle, trail
and line renderers, and lower LOD levels (the first LOD is flashed). If you add renderers at runtime, call
RebuildFlash().
Settings (Profile > Flash) #
| Setting | What it does |
|---|---|
| Mode | Fill (the whole object), Rim (only the edges glow; good on large or detailed models), Fill And Rim. |
| Color | The flash colour for normal hits. |
| Use kind colors | Gold criticals, blue shield hits and so on. Heals always flash their own green. |
| Duration, Strength | How long (real time, so it shows during hitstop) and how strong. |
| Blinks | Blink this many times instead of one flash: the classic invulnerability blink. |
| Rim width | Higher is a thinner edge. |
Per object: Overrides > Flash Color.
Flash safety #
With flash safety on (the default), an object flashes at full strength at most three times a second; extra flashes in that second are dimmed. See Accessibility.
HDRP #
The flash is drawn in HDRP's unlit pass, before tone mapping, so it follows your exposure like everything else in the frame.