Giter Club home page Giter Club logo

shadergraph_examplelibrary's Introduction

Shader Graph Example Library

Player Lineup

Description

This project is a library of different custom shaders created using Unity's Shader Graph feature. All of the shaders are compatible for the Lightweight Scriptable Render Pipeline.

These Shader Graphs are provided as-is; so your mileage may vary! You are more than welcome to modify/change/extract/use any of the examples.

Contains examples for:

  • Mesh Renderers/Skinned Mesh Renderers (located in ExampleScene-Player)
  • Simple Particles
  • Procedural Graphs and Animations (Using no Textures)
  • Sprites
  • Some 'Scenarios' such as Triplanar Grass and Vertex Offset Sine Wave

Software Requirement

  • Version: Unity 2018.3.0f2
  • Package: com.unity.render-pipelines.lightweight: 4.6.0-preview

Known Issues

There is sometimes an issue when opening the project for the first time that textures set in the Material Inspector aren't being applied properly; the current 'fix' is to open the related Shader Graph, click the "Save' button and the Material should update. :)

Contact

if you have any issues & requests for the Shader Graph Example Library; please reach out to Andy Touch:

And please get in touch if you use any of the examples for anything! :)

shadergraph_examplelibrary's People

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  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  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  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

shadergraph_examplelibrary's Issues

Please unify shadergraph examples with ShaderGraph/TestbedAssets/

In the source of the shadergraph project, there is ShaderGraph/TestbedAssets/
It contains some very interesting examples like PartyPreview.ShaderGraph that is a terrain shader, but if you installed Shader Graph with the package manager, you don't have it.

It's confusing and messy to have to download the sources to have access to that.

Sprite-NormalMap.ShaderGraph inverting light

When I use this ShaderGraph and set the GameObject scale.x to -1, the light starts displaying upside down. I duplicated the normal map shader and set the "Two Sided" property to true so that the flipped GameObject could be seen and also added a Flipbook node with the height set to -1 and although the sprites are being affected by the light in the right direction, they aren't displaying properly. Fixing this or giving me a way to do this would mean a lot to my team because our artist has already drawn all the normal maps one by one and the appearance of the game depends on it.

I opened a question in Unity Answers if anyone is interested: https://answers.unity.com/questions/1529041/sprite-normal-map-shadergraph.html

Toon Ramp in 2018.1.0b11

There appear to be stripes in the new version. Using -0.05 instead of -0.5 for the X and Y axis for the light direction appear to fix this issue to some degree.

opening the project in 2019

Cant seem to open this project in Unity 2019.1.9
everything comes up purple and I cant create a render pipeline asset, even after installing RP core, lrp and shadergraph packages

Property update bug

I declared vector1 property "Dissolve" in Shader Graph, when i change it from "Default" to "Slider", it gets updated in material asset and not in object in the hierarchy.
bug1
bug2
bug3

UVs broken 2019.1.3

using "com.unity.render-pipelines.lightweight": "5.6.1",
"com.unity.shadergraph": "5.6.1"
and
"com.unity.render-pipelines.lightweight": "5.13.0",
"com.unity.shadergraph": "5.13.0",
ios build
arfoundation 2.2
How make it work in 2019?
uvsbroken

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.