Home

Awesome

Abondoned

use ProceduralTexture instaed

GradientTexture

Unity Gradient Texture generator. Texture2D-Gradient generated dynamicly Editor-time, by ScriptableObject with Gradient-properties

usage example video ( Youtube ) <br>shader in example based on this, can be downloaded here

What's new:

alt text

alt text

Problem

I. Shader Graph no Exposed Gradient

You can't expose gradient to material inspector

You forced to use Texture2D-based gradients

Forum last active thread

II. designing VFX with gradients

While designing VFX using gradients you need to tweak colors and positions, according to vfx timings/size etc, what makes you:

  1. optional pause vfx
  2. optional make screenshot
  3. switch Photoshop or rearrange windows to have both (Photoshop and Unity) visible on screen together
  4. tweak Gradient as is in Photoshop or according to screenshot, or according to Unity-view
  5. save file
  6. switch to Unity window 1-2-3 times to reimport Texture or reimport by hand (if Playmode is active?)
  7. check visual changes
  8. repeat all

Solution

Texture2D-Gradient generated dynamicly Editor-time, by ScriptableObject with Gradient-properties <br>I. Exposed in shader graph as Texture2D <br>II. faster iteration with no need to switch to Photoshop, rearrange windows, save file, reimport

Summary