Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keijiro/ShadowDrawer
Shadow matte shader for Unity
https://github.com/keijiro/ShadowDrawer
Last synced: about 2 months ago
JSON representation
Shadow matte shader for Unity
- Host: GitHub
- URL: https://github.com/keijiro/ShadowDrawer
- Owner: keijiro
- Created: 2015-06-19T05:23:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-26T13:58:49.000Z (almost 6 years ago)
- Last Synced: 2024-02-02T18:55:30.760Z (5 months ago)
- Language: ShaderLab
- Homepage:
- Size: 19.2 MB
- Stars: 355
- Watchers: 27
- Forks: 52
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Lists
- AwesomeUnityCommunity - ShadowDrawer - Shadow matte shader for Unity. (:sparkler: Rendering & Post-Processing <a name="rendering-and-post-processing"></a> / Shaders <a name="shaders"></a>)
- awesome-unity - ShadowDrawer - Shadow matte shader for Unity. (:sparkler: Rendering & Post-Processing <a name="rendering-and-post-processing"></a> / Shaders <a name="shaders"></a>)
README
ShadowDrawer
============ShadowDrawer is a custom shader for Unity, which draws regions of shadows with a given color.
![Screenshot](http://keijiro.github.io/ShadowDrawer/Screenshot.png)
System Requirements
-------------------- Unity 5.1 or later versions.
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](http://keijiro.github.io/ShadowDrawer/Property.png)
Set this material to objects that receives shadows. Besides that, you should turn off the Cast Shadows property on these objects.
![CastShadows](http://keijiro.github.io/ShadowDrawer/CastShadows.png)
This is not mandatory but gives proper results in most cases.
License
-------Public domain