Auto Transparency for Obstacles


Automatically fades out objects that block the camera's view of the player. Ideal for third-person and top-down games. Fully customizable fade behavior and optimized for performance.


by CoastGames GmbH


Price History +

Auto Transparency for Obstacles is a lightweight and highly customizable tool that automatically fades out any objects that obstruct the view between the camera and a target (usually the player).

Whether you're working on a third-person action game or a top-down RPG, this system ensures a clear line of sight without manual setup or complex coding.


Features

  • Automatically detects and fades blocking objects
  • Smooth fade-in and fade-out transitions
  • Fully configurable transparency level and fade speed
  • Optional shadow retention for better visual quality
  • Layer-based filtering for precise control
  • Works out of the box – includes a demo scene
  • Optimized to minimize performance impact

Use Cases

  • Third-person adventure or action games
  • Top-down RPGs
  • Any scenario where the player should always stay visible

Easy to Integrate

  1. Add the FadeObjectBlockingObject component to your camera (or manager object)
  2. Assign your player as the target
  3. Select which layers should be considered as view-blocking
  4. Add the FadingObject script to any object you want to fade

No coding required!