Git Product home page Git Product logo

unity-blend-shaders's Introduction

Blend Shaders

The Blend Shaders package contains over 20 shaders for blending textures and sprites in Unity (based on Photoshop's blend modes), and it contains a cginc file with a standalone function for each of the blend modes.

Supported Modes

  • Add
  • Average
  • Color Burn
  • Color Dodge
  • Darken
  • Difference
  • Exclusion
  • Glow
  • Hard Light
  • Hard Mix
  • Lighten
  • Linear Dodge
  • Linear Light
  • Multiply
  • Negation
  • Overlay
  • Phoenix
  • Pin Light
  • Reflect
  • Screen
  • Soft Light
  • Subtract
  • Vivid Light

Installation

Use the Unity Package Manager to install the Blend Shaders package.

  1. Open the Package Manager in Window > Package Manager
  2. Click the add (+) button in the status bar
  3. Select Add package from git URL from the add menu
  4. Enter the following Git URL in the text box and click Add:
https://github.com/zigurous/unity-blend-shaders.git

unity-blend-shaders's People

Contributors

adamgraham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

unity-blend-shaders's Issues

Could not load "../Blending.cginc" when imported from Unity package manager

Steps to reproduce

  1. Import the library using Unity's Package Manager
  2. Create a new material
  3. Assign a library shader to the material
  4. Save to compile the shaders

Expected result

Everything working as desired

Actual result

More than one error message, with the first saying Could not load "../Blending.cginc" file

Unity Version

2021.3.0f1

Notes

This doesn't happen when the library is downloaded via Releases and imported manually

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.