Amplify Shader Editor

The asset includes compatibility packages for Amplify Shader Editor (ASE), allowing you to use the All In 1 3D Shader effects as custom nodes inside the ASE visual editor. This is great for users who prefer a node-based workflow or want to integrate the asset's effects into their own custom ASE shaders. All 60+ effect nodes are available in the ASE node menu and the workflow is essentially identical to using the regular material inspector.

If you don't own Amplify Shader Editor you can get it here: https://assetstore.unity.com/packages/tools/visual-scripting/amplify-shader-editor-68570arrow-up-right

Importing the Compatibility Package

To get started, navigate to the ASE Compatibility Packages folder included in the asset root directory. Inside you'll find two Unity Packages:

  • AmplifyShaderEditorCompatibility_URP: Import this if your project uses the Universal Render Pipeline.

  • AmplifyShaderEditorCompatibility_BIRP: Import this if your project uses the Built-In Render Pipeline.

Import only the package that matches your current Render Pipeline. Each package includes the ASE nodes, demo shaders and a demo scene. Once imported, the demo scene can be found at: Assets\Plugins\AllIn1ShaderNodes\Demo\Demo-AmplifyShaderEditor.scene

ASE Templates

The asset provides 3 ASE templates that are required for the nodes to work correctly. Using these templates ensures that the output node is properly configured and that the default values of the All In 1 nodes are set up automatically. The templates are:

  1. Transparent: Sets the Render Queue to Transparent and configures the output node for transparent rendering. Use this for any material that needs transparency such as glass, holograms, fading effects and similar use cases. This template includes fog and shadow support.

  2. Opaque: Sets the Render Queue to Geometry and configures the output node for opaque rendering. Use this for solid materials that don't require any transparency. This template includes fog and shadow support.

  3. Sprite Shader: Specifically designed for sprites and 2D elements. This template includes fog support and a Sprite Data setup that automatically handles sprite-specific configurations. The Sprite Data node will automatically fetch the texture assigned to the Sprite Renderer's Sprite slot and the Color property from the Sprite Renderer component. This means that the shader will use the sprite and tint color directly from the Sprite Renderer without needing to manually assign them in the material. Note that the Sprite Data node will only work within this template and is not compatible with the Transparent or Opaque templates.

It is important to always use one of these 3 templates when working with the All In 1 nodes. Without them, the default values of the nodes won't be configured correctly and the auto setup functionality won't work as expected. If you create an ASE shader without selecting one of these templates, the nodes may produce unexpected results.

Using the Nodes

To add an All In 1 node to your ASE graph, open the node creation menu and search for the effect you need. All nodes are organized under the AllIn1ShaderNodes category and grouped by type (Color Effects, UV Effects, Lighting Models, etc.) making them easy to find.

To learn how to chain and combine multiple effect nodes together, refer to the Chaining Node Effects section of the Documentation. The workflow for connecting and stacking effects is essentially the same in Amplify Shader Editor as it is in Shader Graph.

Last updated