Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Physics
1/7
The Shadow Casting System creates interactive shadow colliders, adding realism and dynamic physics-based interactions to enhances visual depth and gameplay mechanics in your project.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.42f1
Compatible
Compatible
Compatible
Description

BRING YOUR SHADOWS TO LIFE!!!

The Shadow Casting System dynamically generates 2D colliders for object shadows, allowing them to interact physically with the environment. It works by casting rays from a light source to detect shadow outlines, then constructs accurate colliders using a convex hull algorithm. This system is highly customizable, supporting various 3D objects and lighting setups. It is ideal for puzzle games, platformers, and physics-based mechanics where shadow-based interactions enhance gameplay. By adjusting light settings and object properties, developers can fine-tune the visual and physical behavior of shadows to fit their project's unique style.

This asset uses the Gas Wall Lantern 3D Model by codeinfernogames, the 3D (Mese) Crystal model by rubberduck, the simple 3d props models by DeadKir ,Soccer Ball sprite by gothicfan95, [2D] Wooden Box sprite by 

from opengameart.org under the Creative Commons 0 license.

(see Third-Party invoices.txt file in the package for details)

Technical details
  • Dynamic Shadow Colliders: Generates real-time 2D colliders for shadows based on object geometry.
  • Raycasting System: Casts rays from the light source to detect shadow outlines on the wall.
  • Convex Hull Algorithm: Calculates the perimeter of the shadow to create an accurate collider.
  • Real-time Updates: Recalculates shadows when the light source or objects move.
  • Customizable Light Behavior: Toggle light on/off and adjust shadow properties.
  • Optimized Performance: Uses Unity’s Mesh API and NativeArray for efficient vertex processing.
  • Easy Integration: Works with any convex 3D object and supports custom light setups.

Shadows Manifestation System

(not enough ratings)
4 users have favourite this asset
(4)
$18
Seat
1
Updated price and taxes/VAT calculated at checkout
12 views in the past week
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
2.1 MB
Latest version
1.0.0
Latest release date
Feb 24, 2025
Original Unity version
2021.3.42
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR