Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

z3y/ShaderGraph-BuiltIn-Importer

Repository files navigation

ShaderGraph built-in importer with custom shading and bug fixes. Target version is 2019.4 (VRChat). Shader Graph supports built-in pipeline natively in 2021+, this package only aims to fix bugs, make it usable in VRChat with both lit and unlit modes and provide some improvements. Experimental, might have breaking changes in the future.

Installation:

  • Download and install Unity 2021 LTS and import Shader Graph (12.1.6) from the package manager
  • Import this package using git URL https://github.com/z3y/ShaderGraph-BuiltIn-Importer.git (install Git if you haven't already and restart Unity) OR download source and import the package.json with the Package Manager in Unity 2019

How to use:

  • Create a Shader using Shader Graph with built-in target in 2021
  • Save Asset, Show In Project and Copy Shader
  • Create a new shader graph importer Create > Shader > Shader Graph Importer in 2019
  • Paste and Import

Features:

  • Bakery features
  • Bicubic lightmap
  • Alpha to coverage
  • LTCGI
  • Audio Link
  • Flat Lit

Notable bug fixes: GPU Instancing, Single Pass, Single Pass Instanced

  • Unity has a shader graph variant limit but its too low. Increase it in Preferences > Shader Graph > Shader Variant Limit
  • Stage keywords dont work on Quest, use only All stages
  • Make sure to follow standard property naming convetions so your shaders can fallback properly

Shader Graph and Built-In shader code owned by Unity, Licensed under Unity Companion License: https://unity3d.com/legal/licenses/Unity_Companion_License

For other files licenses are included in folders or files

If you want to ask something join https://discord.gg/bw46tKgRFT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published