Render queue resetting

Your feedback is very important to us. We are listening.
Post Reply
Petey
Posts: 13
Joined: Sat Dec 02, 2017 10:18 am

Render queue resetting

Post by Petey »

G'day,

I've been exploring stencil buffers a bit and i noticed something that was tripping me up a bit. It seems that if you make any changes to the render queue, they get reset when you modify that shader in Amplify.
Image
Is there a way to stop that? Or maybe make it a parameter that can be exposed from the shader?

Thanks,
Pete
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Render queue resetting

Post by Ricardo Teixeira »

Petey wrote:G'day,

I've been exploring stencil buffers a bit and i noticed something that was tripping me up a bit. It seems that if you make any changes to the render queue, they get reset when you modify that shader in Amplify.
Image
Is there a way to stop that? Or maybe make it a parameter that can be exposed from the shader?

Thanks,
Pete
Hello,

Do you mean changes made in code?

Thanks!
Sales & 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!
Petey
Posts: 13
Joined: Sat Dec 02, 2017 10:18 am

Re: Render queue resetting

Post by Petey »

Hiya, no it doesn't change the code at all it just resets any changes you have made on the inspector of the material and it only happens when you are editing in material mode.
I found a nice fix though and that was to set the queue directly in the shader so it kinda locks it in.
Image
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Render queue resetting

Post by Amplify_Borba »

Hey there!

When you are editing in material mode, it seems to be an expected behavior from Unity that the material inspector values are overridden by the Output node's parameters, including the Render Queue and its Queue Index adjustment.

Nevertheless, we're still going to take a look on how Unity handles the inspector change internally, just to be sure, and we will get back to you on this, 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: Render queue resetting

Post by Amplify_Borba »

Hello!

We've added a fix on the latest build, 1.5.4_dev04, which prevents ASE from overriding the inspector's Render Queue setting when it's set to any option other than 'From Shader'.

Thank you for bringing this up to our attention!
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!
Post Reply