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 projectonto 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.
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!
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.
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:
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:
The results came out as follows:
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.
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.