Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
penandlim authored Sep 13, 2018
1 parent d55f4a0 commit d8224e7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
# JL's Unity Blend Modes
Collection of Unity shaders that support blend modes like photoshop layer style (Darken, Multiply, Linear Burn, etc)

Each shader applies given texture from sprite renderer to the texture from Unity's GrabPass, emulaitng the blend effect of photoshop layers.

![alt text](https://raw.githubusercontent.com/penandlim/JL-s-Unity-Blend-Modes/master/preview.png "Preview")

The texture assigned to sprite renderer **must have same dimensions/ratio as Screen width and height.**

Built for screen space effect but feel free to modify it by replacing GrabPass to other textures.

You can also use Stencil properties to limit the overlay effect to certain objects in the scene.

# Usage
1. Add a UI Canvas to your project.

2. Add a sprite renderer as a child

3. Add an image with desired colors/opacity/gradient.

4. Add a material with a shader thats in "Blendmodes/" category

5. Adjust tint and opacity of the blend layer accordingly.

0 comments on commit d8224e7

Please sign in to comment.