Publisher | Fantasy Vertex |
---|---|
File size | 597.94kB |
Number of files | 27 |
Latest version | 1 |
Latest release date | 2025-05-28 07:57:11 |
First release date | 2025-05-28 07:57:11 |
Supported Unity versions | 2018.4.2 or higher |
Flashlight Mask Shader (Mouse & Touch) provides a simple yet effective way to simulate a flashlight effect using shader-based masking. This asset includes two distinct shaders:
- Object Mask Shader – Highlights a specific object within the scene as if lit by a flashlight beam. Ideal for interactive inspection or spotlighting.
- Full-Screen Mask Shader – Simulates a flashlight beam moving across a dark environment. Great for exploration, horror, or mystery game settings.
Key features:
- Flashlight mask follows mouse (PC) or touch position (mobile).
- Fully shader-based, no lights or additional cameras required.
- Works in both 2D and 3D environments.
- Mobile-friendly, with minimal performance overhead.
- Includes two demo scenes:
Object Spotlight Scene: Demonstrates object-specific illumination.
Environment Exploration Scene: Showcases spatial flashlight movement in a dark environment.