Flashlight Mask Shader (Mouse & Touch) View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
6000.0.39 or later
Package size
598 KB
Files
27
Favorites
2
Views in the past week
10

Price tracking

Last checked
Tracked since
Lowest recorded
$4.99 on

Keywords

Flashlight Mask Shader (Mouse & Touch)

by Fantasy Vertex (opens in new tab)

No ratings yet

Flashlight Mask Shader (Mouse & Touch) is a lightweight Unity asset with two shaders for simulating flashlight effects. Supports mouse (PC) and touch (mobile). Includes two demo scenes.

Price $4.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Flashlight Mask Shader (Mouse & Touch), 6 months Current $4.99; lowest $4.99; highest $4.99 in this period. $0 $2.5 $5 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 4

Flashlight Mask Shader (Mouse & Touch) screenshot 1

Flashlight Mask Shader (Mouse & Touch) screenshot 1

About this asset

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:

  1. Object Mask Shader – Highlights a specific object within the scene as if lit by a flashlight beam. Ideal for interactive inspection or spotlighting.
  2. 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.

From the publisher's Asset Store listing.

Technical details

  • Render Pipeline Compatibility: 

Built-in Render Pipeline, URP

  • Shaders:

InputMaskObjectColor.shader
InputMaskAllColor.shader

  • Input Handling:

Mobile: Touch position
PC: Mouse position

  • Platform Support:

Android

Desktop

  • Scenes Included:

MaskObjectScene.unity
MaskAllScene.unity

  • Performance:

No additional lights or post-processing required
Optimized for mobile devices

  • Documentation: Included in README

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP
6000.0.39f1 Compatible Compatible Not listed

As listed on the Asset Store.