Outline shader for Particle Effects

Node-based Shader Editor

Outline shader for Particle Effects

Postby rxmarcus » Sun Aug 05, 2018 2:23 am

I've noticed that ASE has a simple option that you can check to add an outline to the shader, but it doesn't appear to work when I apply the material / shader to a particle system. (Is there something unique or different about writing shaders for the particle system?)

Anyways, I also am trying to create the outline shader using nodes and as you can see still am not having any luck:

Image

Can you please help me know what I need to do to get an outline effect working with a png texture in a particle system?

Thanks
rxmarcus
 
Posts: 13
Joined: Thu Feb 22, 2018 6:22 pm

Re: Outline shader for Particle Effects

Postby Amplify_Borba » Mon Aug 06, 2018 1:37 pm

Hey there!

Unfortunately, the provided Outline implementation does not work with particles.

In order to get an outline effect with a texture in a particle system I believe that it would be best if you draw it in the actual texture.

Please let me know if you have any further questions, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Outline shader for Particle Effects

Postby rxmarcus » Mon Aug 06, 2018 10:55 pm

Ah darn.

The reason I want to do it shader side is that when particles overlap, I want the outline to surround the entire group of particles and not have the outlines on each individual particle breaking up the effect. (If that makes sense)

Does amplify not support writing shaders that are compatible with particle systems?
rxmarcus
 
Posts: 13
Joined: Thu Feb 22, 2018 6:22 pm

Re: Outline shader for Particle Effects

Postby Amplify_Borba » Tue Aug 07, 2018 9:36 am

It's definitely possible to create Particle shaders with ASE using the Template Shader feature, which is the ideal solution for custom shader pipeline requirements that take advantage of node-based shader authoring, although some shader knowledge is required.

Templates are just as regular Unity shaders but with special ASE tags placed at key points, be sure to check the official wiki page for additional information.

The current ASE package includes Particles, UI, Sprites and Image Effects templates that you can use as a starting point to develop your own custom shaders, you can find them at AmplifyShaderEditor \ Examples \ Official \TemplateExamples.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: Bing [Bot] and 48 guests