Unity Products:Amplify Shader Editor/Post Processing Stack

From Amplify Creations Wiki
Jump to: navigation, search

Product Page - Included Shaders - Manual - Shader Functions - Tutorials - API - Shader Templates - Post Processing Stack - Scriptable Rendering Pipeline - Nodes - Community Nodes

Post Processing Stack


Amplify Shader Editor allows the user to create post-processing effects compatible with Unity's Post-Processing Stack V2. In order to start creating your shaders you'll first need to import the AmplifyShaderEditor > Plugins > EditorResources > Templates > PPStackTemplates Unity Package. This will enable the Post-Processing template to be enable for selection on your Node Properties shader type.


From there you can create your shader as any other regular ASE shader. Please notice that some additional steps need to be done in order for your shader to be PPS v2 compatible and there is where our tool will help out.


For the effect to become available over the stack, a C# file must be created containing both the effect's properties class as well as its renderer. This is where the ASE PPS Tool is helpful. By simply drag and dropping the shader into our tool it will automatically create both both Properties and Renderer class on file at the users choosing.

Please notice that this c# cannot be loaded into the tool. If the user on a later time wants a new configuration for it, the shader must be dragged and all properties must be set again.

ASE Post-Processing Stack Tool is now packed inside ASEPPSTool.unitypackage instead of having it right available, since it will throw error if you had PPS v2 previously installed an then removed afterwards from your project.

If you already have this tool installed over Amplify Shader Editor and an error is thrown over this tool, you can either remove the file AmplifyShaderEditor > Plugins > Editor > Utils > ASEPPSHelperTool.cs from your project or check your Player Settings, more specifically the Scripting Define Symbol text area on the Other Settings and see if the UNITY_POST_PROCESSING_STACK_V2 is written over there. If so, and if you don't have the PPS installed you can remove it from there.

For additional information on custom post processing effects please check:
Writing Custom Effects
Post Processing Writing Effects