Flash Gaurd
This is a ReShade shader designed to prevent sudden screen flashing (photosensitive seizures prevention). It effectively suppresses or reduces intense flashes often found in 90s light gun shooters and other retro titles.
No cheat codes, patches, or texture replacements required.
Simply select the target color and sensitivity to suppress flashes.
Compatible with any hardware or software (NES, PS1, Saturn, PS2, PC, etc.).
It can also be applied to old movies and anime footage.
Limitations
- Requires Reshade
Downloads
Setup guide
Information taken from the included Flash Guard 1.0.3.1 Readme.txt
Install ReShade
Download and install ReShade from the official website. https://reshade.me
Using ReShade presets allows you to easily apply specific settings for each game.
Install Flash Guard
Copy FlashGuard.fx into the reshade-shaders/Shaders folder within your game's installation directory.
Example: XXXX/reshade-shaders/Shaders/FlashGuard.fx
Enable in Game
Open the ReShade overlay (Home key), type "FlashGuard" in the search bar or find it in the list,
and check the box to enable the shader.
Settings Descriptions
Detection Settings
Detection Mode:
- Target: Color A Only: Detects and suppresses only "Target Color A".
- Target: Color A & B: Detects and suppresses both A and B colors.
- Famicom/NES Mode: Specialized mode for NES light gun games.
You may need to adjust the "Guard Duration" based on the number of targets (Ducks, Gunmen, etc.).
- Target Color A / B: Specify the color of the flash you want to prevent.
- Picking the exact flash color using the color palette is the easiest way.
- If it doesn't respond well, try slightly adjusting the color (e.g., White to Light Gray) or lowering the sensitivity. Entering direct RGB values from a screen capture can improve accuracy.
- Sensitivity (Color A / B): Lower values trigger the guard more aggressively (wider range).
- Higher values require a more precise color match.
- Sampling Precision: Sets how many pixels are sampled for color detection. "65535" is recommended for general use.
Gaurd Action Settings
Sets the behavior when a flash is detected.
- Guard Method
- Freeze Previous Frame (Recommended): Displays the still image from immediately before the flash.
- Color Overlay Only: Covers the screen with a specific color.
- Guard Duration
Sets how many frames the guard is maintained after detection. If a flash lasts multiple frames, setting this to the same or higher value will completely remove it.
- Safety Guard Limit
A safety feature to prevent the screen from staying frozen indefinitely if a flash is constantly detected. The guard will force-release after this number of frames.
Color Overlay Settings (Advanced)
Configures the behavior when "Color Overlay Only" is selected as the Guard Method.
- Blend Mode
Options include Fill, Add, Subtract, and Multiply. Since this doesn't skip frames, no stuttering occurs.
- Animation Pattern
Allows the overlay color to "Fade Out" etc., during the guard.
- Post-Guard Persistence
Sets the duration of the overlay effect after the flash detection ends.
Border & Exclusion Settings (Optional)
Allows setting the size and color of a border (useful for Sinden Lightgun users).