Custom Gradient Property Drawer
Last updated
Last updated
The asset shaders use a custom Gradient Property Drawer on some shader properties that allows you to use the built-in Unity gradient inspector to create a texture that will be saved inside the Material that uses it.
The properties that use this custom drawer are the Color Ramp Gradient in the Color Ramp effect (when Use Editable Gradient toggle is enabled) and the Trail Width Gradient property on the Trail Width Effect.
If you create a gradient texture but then you change your mind and you don’t use it any more you can delete it by right clicking on the Material that holds the texture and press AllIn1Vfx -> Remove All Gradient Textures: