Dynamic Shadow Projector

Additional assets for URP are available on Github
Projector For LWRP:
https://github.com/nyahoon-games/ProjectorForLWRP
Dynamic Shadow Projector Extension For LWRP:
https://github.com/nyahoon-games/DynamicShadowProjectorExtensionForLWRP

This simple Unity asset provides a few components to render a shadow onto a render texture so that the render texture can be used with Blob Shadow Projector. Blob Shadow Projector is usually used for dropping a round blurry shadow which is not suitable for a skinned mesh object. This asset enables a projector to drop a dynamic shadow which is perfect for skinned mesh objects.

In addition, version 1.2.0 introduced a new feature which enables a Projector to project shadows on transparent surfaces. For more details, see the documentation page: Project shadows on transparent objects

Dynamic Shadow Projector can be a good alternative of shadowmap for mobile platform, because it doesn't require depth textures, and it works on almost all devices. However, Blob Shadow Projector can be very slow on mobile platform. If you got a performance problem, please try our another asset, Fast Shadow Receiver. It really improves the performance of Blob Shadow Projector.

Web site
Tutorial

Release Notes

Version 1.2.2

[Bug Fix]

 - Fixed an issue whereby changes of shadow color of a projector had affected other projectors.


Version 1.2.1

[Bug Fix]

 - Stop using cameras for rendering shadow textures in URP to reduce garbage. Please update Dynamic Shadow Projector Extension For LWRP as well.


Version 1.2.0

[New Feature]

 - Projectors are now able to project shadows on transparent objects. See the document page for more details: https://nyahoon.com/products/dynamic-shadow-projector/project-shadows-on-transparent-objects


Version 1.1.10

[Bug Fix]

 - Fixed an issue whereby shadow textures are not rendered in Edit mode if Game view is hidden (URP only).


Version 1.1.9

[Bug Fixes]

 - Remove the workaround for UsePass issue added in version 1.1.8. The following versions of Unity are no longer supported. Unity 2019.4.6 - 2019.4.19, Unity 2020.1.0 - 2020.2.2

 - Fixed some prefab issues.


Version 1.1.8 (Unity 2019.4.6f1 or newer only)

[Bug Fix]

 - Temporary workaround for UsePass issue whereby dynamic shadows disappear in app using URP and built with Unity 2019.4.6f1 or newer.


Version 1.1.7

[Bug Fix]

 - Fixed shaders to support VR single pass rendering and GPU instancing.


Version 1.1.6

[Bug Fix]

 - Fixed the build error in version 1.1.5.


Version 1.1.5

[Bug Fixes]

 - Fixed the issue whereby the contents of dynamic shadow textures were serialized in a scene file.

 - Migrate to [ExecuteAlways] attribute from [ExecuteInEditMode] (Unity 2018.3 or newer)


Version 1.1.4

[Bug Fix]

 - Fix the bug whereby disabled meshes casted shadows.

 - DrawTargetObject component now can auto detect changes of the target object hierarchy if "Auto Detect Hierarchy Changes" property is enabled.

 - Add “Offset Slope Factor” property to all projector shaders. Now both of the depth offset parameters (Factor and Units) can be zero (default values are both -1).


Version 1.1.3

[Bug Fix]

 - Use local shader keywords instead of global ones.


Version 1.1.2

[Bug Fix]

 - Fixed CBUFFERs so that shaders can be compatible with SRP Batcher.


Version 1.1.1

[Bug Fix]

 - Fixed "Releasing render texture that is set as Camera.targetTexture!" error.


Version 1.1.0

 - LWRP support in conjunction with additional files which are available on Github: Projector For LWRP Dynamic Shadow Projector Extension For LWRP 


Version 1.0.10

[Bug Fixes]

 - Fixed the issue of DrawTargetObject. LayerMask property was ignored in version 1.0.8 and 1.0.9.

 - Rename "Mipmapped Shadow for Lightmap XXXX" shaders for clarifying that they require FastShadowReceiver


Version 1.0.9

[Bug Fixes]

 - Fixed duplicated CBUFFER names which can cause "m_BuffersToBind[shaderType][bind].buffer == NULL" errors.

 - Fixed the issue of stretching shadows on Android


Version 1.0.8

[New features]

 - Mipmapped shadow shaders for mixed lighting which is available in Fast Shadow Receiver

 - Projector For LWRP support

 - No longer support Unity 5.x. Please use Unity 2017 or later. 


Version 1.0.7

[Bug Fix]

 - Added a workaround for a bug of Unity 2017 whereby shadow textures were broken in edit mode. 


Version 1.0.6

[Bug Fix]

 - Added a workaround for a bug of Unity 5.6 whereby a temporary render texture does not work in a specific case. However this workaround conflicts with VR support added in version 1.0.4, and version 1.0.6 will not work with VR if Unity version is 5.6.

 - Added a workaround for a crash bug of Unity 5.6.

 - Added a workaround for annoying error messages of Unity 5.6.


Version 1.0.5

[Bug Fix]

 - Fixed Basic sample - Fixed view clip problem 


Version 1.0.4

[Bug Fix]

 - GearVR support

 - HDR rendering support 


Version 1.0.3

[Bug Fix]

 - OpenGLCore support.

 - Fix DX9 shader compile error.


Version 1.0.2

[Bug Fix]

 - Fixed an issue that Unity 5.2's console window keeps printing the following errors: Releasing render texture that is set as Camera.targetTexture! UnityEditor.DockArea:OnGUI()


Version 1.0.1

[Bug Fix]

 - Fixed memory leak 

[New Feature]

 - Single pass mipmap blur option

Basic Information
Latest Version
1.2.2 (02 May 2022)
Publisher
Nyahoon Games Pte. Ltd.
Category
Tools/Particles & Effects
Size
267.0 KB
Price
free
Asset Rating
(106)
Extended Information
Unity Versions
2018.4.0
Render Pipelines
BIRP URP
State
published