Seaside Studios
HomeOverviewFAQsContactReview
VFX Toolkit
VFX Toolkit
  • What is All In 1 VFX Toolkit
  • Overview
  • Setup and Render Pipelines
  • First Steps (Must Read)
  • Asset Component Features
  • Shader Structure and Usage
  • Advanced Configuration and Key Rendering Concepts
  • Particle System Helper Component
  • Asset Window
  • Textures Setup
  • Saving Prefabs
  • Screen Distortion and Creating Distortion Maps
  • Custom Vertex Streams and Custom Data Auto Setup
  • How to Animate Materials
  • Custom Scaled Time
  • Scripting
  • Visual Effect Graph (Vfx Graph)
  • How to Enable/Disable Effects at Runtime
  • Random Seed
  • Render Material To Image
  • Premade Textures, Meshes and Materials
  • Helper Scripts and Other Utilities
  • Lit Shader
  • Effects and Properties Breakdown
  • Custom Gradient Property Drawer
  • Running out of Shader Keywords
  • Considerations
  • FAQ (Frequently Asked Questions)
  • Credits
Powered by GitBook
On this page

Custom Gradient Property Drawer

PreviousEffects and Properties BreakdownNextRunning out of Shader Keywords

Last updated 7 months ago

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: