Skip to content
A comprehensive archive for Unity's built-in shaders code
ShaderLab HLSL C# GLSL Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Unity Built-in Shaders

This repository contains built-in shader code for all release of Unity back to Unity 3. It is useful to compare changes between versions and keep up to date versions of Unity's own shaders (you do not need to download the code from Unity's website anymore!)


Only fully released versions of Unity are taken into account. Releases from the Alpha, Beta or Patch channels are not considered.

Repository Navigation

You can access shader code through:

  • Branches to access all minor releases inside a major version and stay up-to-date (2017.2, 2018.3, ...)
  • Tags to access a specific version (v2017.4.1f1, v2019.1.5f1, ...)

Master branch

Master will always be synced with the latest main stream release.

Please note that LTS releases are never merged with master.

Automatic Updater

Run node check-unity-version.js to update the repository automatically with the new versions.


  • master must be merged manually with the main-stream branch


  • Node.js version v10.x or later (should probably work with earlier versions, but has not been tested)
  • bash in order to execute script


See license.txt

You can’t perform that action at this time.