Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

georgehuan1994/ShadowDrawer-URP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ShadowDrawer-URP

This repo is based on ShadowDrawer by keijiro, I added URP (LWRP) support on this basis.

ShadowDrawer is a custom shader for Unity, which only draws regions of shadows with a given color.

Screenshot

System Requirements

  • Universal RP (com.unity.render-pipelines.universal)

Limitations

  • Works only on Forward rendering path.
  • Conflicts with skyboxes. Use a solid color or a screen-sized quad for a background.

Usage

Create a material and change shader to Custom/ShadowDrawer. You can specify a color (rgb) and opacity (a) of shadows with the Shadow Color property.

Property

Set this material to objects that receives shadows. Besides that, you should turn off the Cast Shadows property on these objects.

CastShadows

This is not mandatory but gives proper results in most cases.

License

MIT

About

Shadow matte shader for Unity URP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published