[SOLVED] Custom shader Drag & Drop, won't apply to objects.

Node-based Shader Editor

[SOLVED] Custom shader Drag & Drop, won't apply to objects.

Postby cepeka » Thu Jan 31, 2019 12:38 pm

Hello,

My material with custom shader won't apply to objects when dragging, but apply to the skybox.
Red is Standard Shader, Yellow is Amplify custom Shader

Image

I can drag materials to the deserved slots of the Mesh Renderer, this works fine, but I have a lot of materials IDs on my models, so it is very tedious to do. Also, since i'm working on a pack that will be sold on the Asset Store, I definitively can't let this through.

I have asked on Unity forums, Unity answers, Reddit, no responses.
Is there any reason or solution to this ? I can't seems to find notable differences between a skybox and a surface shader.
Last edited by cepeka on Fri Feb 08, 2019 9:06 pm, edited 1 time in total.
cepeka
 
Posts: 5
Joined: Thu Jan 31, 2019 12:24 pm

Re: Custom shader Drag & Drop, won't apply to objects.

Postby Amplify_Borba » Thu Jan 31, 2019 3:22 pm

Hello, thank you for getting in touch and for your support!

That's an odd issue, I don't believe that we've come across it yet.

In order for us to try and replicate it on our side, we'll need a few additional details such as Unity version, OS, target platform and ASE version. I would also recommend that you make sure that you're using the latest ASE version currently available on our website.

If possible, please share a simple sample with us with the issue present, so that we can debug this using the same data as you.

Regarding our support, we recommend that you always reach out through one of the following means:

- Email: [email protected]
- This forum
- The ASE Unity thread
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: Custom shader Drag & Drop, won't apply to objects.

Postby cepeka » Fri Feb 01, 2019 11:53 pm

Hi, thanks for the reply !

I've uploaded a light project for debug purposes :
https://we.tl/t-i4FhjhF9vI

I'm using Unity 2018.3.0f2 on Windows 10, target platform is Win/Mac.
ASE is updated to the latest version (1.6.2)

The weird thing is, it started to work again on a different project right after asking on various forums, and I don't know why. I didn't do anything special (even rebooting, the project was open all the time.)

If I switch the shaders from one project to another, it doesn't do anything. Still broken. When someone tried the shader, it worked fine on his side.
cepeka
 
Posts: 5
Joined: Thu Jan 31, 2019 12:24 pm

Re: Custom shader Drag & Drop, won't apply to objects.

Postby Amplify_Borba » Wed Feb 06, 2019 11:25 am

Thank you for sharing a sample, together with additional details!

From what I could see, your ASE shader has its Render Queue set to Background, which is causing this behavior.

It also seems to be expected, since using this setting in a Unity Standard shader effectively replicates it.

Setting the Render Queue to Geometry on the shader, which is the default, will ensure that the material will apply and behave as you'd expect.

Please let me know if this helps.
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: [SOLVED] Custom shader Drag & Drop, won't apply to objec

Postby cepeka » Fri Feb 08, 2019 9:07 pm

Ahaaa ! It was simple as that...
Many thanks to you sir ! Everything works as intended now.
cepeka
 
Posts: 5
Joined: Thu Jan 31, 2019 12:24 pm

Re: [SOLVED] Custom shader Drag & Drop, won't apply to objec

Postby Amplify_Borba » Thu Feb 14, 2019 11:28 am

Happy to help!

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, 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


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 10 guests