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.
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.
-
Add a UI Canvas to your project.
-
Add a sprite renderer as a child
-
Add an image with desired colors/opacity/gradient.
-
Add a material with a shader thats in "Blendmodes/" category
-
Adjust tint and opacity of the blend layer accordingly.
https://github.com/supyrb/ConfigurableShaders