Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/4
An extension to the regular Shader and Shader Graph GUI that lets you input Gradients easily and user-friendly.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.27f1
Compatible
Compatible
Compatible
Description

This asset lets you input Gradients in the Shader and material inspector directly fast, easily and of course user-friendly! 🎉Change your gradients to your desire🎉 - without any complications!


🔨 Step-by-Step guide 🔨 

  • Built-In
  1. Open your Shader of choice. 
  2. Add CustomEditor "GradientShaderEditor" to the end of the shader.
  • URP & HDRP (GRAPH)
  1. Open your Shader Graph of choice. 
  2. Open the "Graph Inspector" on the top right of the window.
  3. Select the "Graph Settings" tab in the newly opened Graph Inspector window.
  4. Under the property called "Custom Editor GUI" add GradientShaderEditor

🔨To create a new Gradient (both Built-In & URP/HDRP)

  1. Create a new Texture2D property. 
  2. Under the "Reference" name include "GradientTexture" anywhere in the name. 
  3. Save the shader and you're done! 🎉

🔍Configuration 🔍

  1. Open the "Gradient Shader Editor" script. 
  2. Configure to your liking:
    1. "regex" - naming convention (what the "reference" of a gradient should include) 
    2. "resolution" - resolution of the generated texture for each gradient
Technical details
  • Works in all Render Pipelines.
  • Creates a new texture for each gradient (resolution configurable)
  • Works seamlessly and ALL in the backend.

Gradient Property for Shader

(not enough ratings)
13 users have favourite this asset
(13)
FREE
License type
File size
3.1 MB
Latest version
1.0.1
Latest release date
Aug 7, 2023
Original Unity version
2021.3.27
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR