View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.3
- Last updated
- First released
- Unity version
- 2022.3.61 or later
- Package size
- 4.4 MB
- Files
- 26
- Favorites
- 16
- Views in the past week
- 4
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $10.00 on
Keywords
Depth Shadows - 3D shadows for AR
Realistic shadows are crucial for immersion. Depth shadows are the next generation of shadow rendering, creating more immersive (contact) shadows in your XR worlds.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
Depth Shadows - 3D shadows for AR screenshot 1
About this asset
Depth Shadows AR will render realistic depth-based contact shadows for your project. It is built with Augmented Reality in mind, and also works great with non-AR projects.
Depth Shadows AR does not rely on Unity's shadow rendering, which can be fully disabled. It uses an optimized pipeline to render a fast depth image of the plane that needs shadows, and renders it with custom shaders.
Depth Shadows AR can be used for any application, including non-AR projects!
Features
- Render performant & realistic depth-based shadows
- Faster than URP shadows
- Customizable soft shadows
- Designed for Augmented Reality applications/games
- Customizable visuals
- Scalable shadow receiving plane
- AR Light Estimation & Directional Light Rotation support
- Compatible with Vulkan, OpenGLES3, DX11, DX12, & Metal
- Compatible with all Render Pipelines (BiRP, URP, HDRP)
- Compatible with Forward, Forward+, Deferred, & Deferred+ rendering
Depth Shadows currently only works with a directional light. Spot light support is on the roadmap for v2.
This technique is used in major games, like Pokemon Go, and is now available to you in all your projects!
From the publisher's Asset Store listing.
Technical details
DepthShadows Shader - Shader responsible for the depth shadow rendering
- DepthTexture: Texture used to render depth map
- Shadow Color: Color of shadows, including alpha for transparency
- Depth Offset: Change the depth calculations for customization
- Intensity: Used to boost the shadows
DepthShadow.cs - Used to set up the shadow rendering plane & all default values
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2022.3.61f1 | Not listed | Compatible | Compatible | Compatible |
Made for URP. Other Render Pipelines have basic support
HDRP is not allowed to have non-uniform scale for the shadow receiving. URP does have this functionality.
As listed on the Asset Store.