Page 1 of 1

Decal Projector Component on Amplify shader

PostPosted: Tue Jan 29, 2019 6:30 pm
by no4me
Hello,

Is it possible to add a decal projection to a material created by amplify shader editor in HDRP? We would like to use Unity's new Decal Projector Component to project onto a surface. We don't know whether there is an option to automatically allow this behavior or we need to do something special with nodes.

Best regards and thanks in advance.

Re: Decal Projector Component on Amplify shader

PostPosted: Thu Jan 31, 2019 12:01 pm
by Amplify_Borba
Hello, we've just ran some tests on our side and it seems to be working with our HD Lit template with no apparent issues and no special setup was necessary, but please let us know if you come across any, thanks!

Re: Decal Projector Component on Amplify shader

PostPosted: Thu Feb 07, 2019 9:04 pm
by no4me
Hello,
thank you for your reply.
We used simple and more advanced Amplify shader for mesh under decal. None of them worked for us.
For decal material we used HDRP/decal. Should we use any specific shader?
Can you please give us instrucions on how to get HD Lit Template work.

decal_HDRP.jpg
decal_HDRP.jpg (214.37 KiB) Viewed 4016 times

Re: Decal Projector Component on Amplify shader

PostPosted: Fri Feb 08, 2019 11:38 am
by Amplify_Borba
No problem, I'll elaborate on how I've proceeded to test this.

Using Unity 2018.3.4f1 with the latest ASE v1.6.2r5 and HD SRP 4.9.0, I've created a simple ASE shader using the HD Lit template with its default settings and only a Texture Sample connected to the Albedo:

Image

This shader was added to a Plane in the scene.

Next, I've created an Empty Object for the Decal Projector Component, created a new material using the HDRP / Decal shader and increased its size while also adding a texture:

Image

The results came out as follows:

Image

Please let me know if this helps, if you're still having issues I would recommend trying to replicate the behavior in a new project with just ASE imported.

Re: Decal Projector Component on Amplify shader

PostPosted: Sat Feb 09, 2019 12:02 pm
by no4me
Thank you again for your hard work on Amplify Shader Editor and fast replies.

With your instructions we were able to find a solution to our problem. We found out that we were using the older version of Amplify (from store) where HD Lit Shader Type was not present.

Best regards.

Re: Decal Projector Component on Amplify shader

PostPosted: Thu Feb 14, 2019 11:31 am
by Amplify_Borba
Thank you for letting us know that the issue has been solved!

Have you had the chance to rate and review Amplify Shader Editor? It would be awesome if you could share your experience with the Unity community, every bit helps and your feedback is extremely valuable to us.

Feel free to get back in touch if you have further issues or questions, we'll be happy to assist.