Fast Volumetric Blob Shadows View on Asset Store (opens in new tab)

Package details

Latest version
1.4.0
Last updated
First released
Unity version
2017.4.40 or later
Package size
6.1 MB
Files
39
Favorites
267
Views in the past week
30

Price tracking

Last checked
Tracked since
Lowest recorded
$5.00 on

Keywords

Fast Volumetric Blob Shadows

by Pixel Tea (opens in new tab)

4.4 / 5 · 34 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 24
4 stars 6
3 stars 0
2 stars 0
1 star 4

Shader for cheaply rendering blob shadow volumes.

Price $10.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Fast Volumetric Blob Shadows, 6 months Current $10.00; lowest $10.00; highest $10.00 in this period. $0 $5 $10 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 7

Fast Volumetric Blob Shadows screenshot 1

Fast Volumetric Blob Shadows screenshot 1

About this asset

Adding simple rectangular or circular shadows is very easy with this asset! The shadow volume geometry can be moved, rotated, and scaled. Just drop the material onto a cube or sphere mesh, place it in the world, and adjust the color, sharpness, and intensity as needed. For dynamic objects, you can position it with a simple script or constraint. The shadows can be useful even in situations when full shadows are enabled but a little bit of cheap extra occlusion is desired. The material can be GPU instanced, but static and dynamic batching do not work, because batching removes transformation information necessary for the shader to function.

The primary advantage this asset has over the standard Unity projector is that the projector will re-render all of the objects it affects, which can potentially increase the number of draw calls and overall cost of a scene dramatically, especially if there are multiple objects casting shadows on multiple environment objects, or the objects receiving the shadows are large or complex. The FVBS shader doesn't suffer from this issue, and will have the same cost regardless of the complexity of the scene being shadowed.

Note: For the shader to work, there must be a depth texture enabled on the camera, either in the pipeline asset for the URP, or with an included script for Builtin. If the depth texture is not already enabled in your project you will see an increase in draw calls due to Unity needing to render the depth pass. If draw calls are the primary bottleneck this asset is likely not the right solution.

From the publisher's Asset Store listing.

Technical details

Multiple Renderers: Builtin and URP are both supported. Works in forward and deferred pipelines.

Highly Optimized: Very simple transparent shader, extremely quick to render. Suitable for mobile and VR applications. One draw call per shadow without GPU instancing, or one draw call per shadow material with GPU instancing enabled.

Stable and Simple: The only scripting needed is to position the shadow volume, no special receiver scripts or render textures required.

Fully Editable: Versions of the shader for Unity's Shader Graph as well as for Amplify Shader Editor are included, depending on the renderer.

Various Uses: The shadow color can be set to anything, so the volumes could have multiple uses beyond shadowing: a bright color could be used as a very simple fake light.

Compatibility

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

As listed on the Asset Store.