Hello, I have been learning about shaders and have begun to write my own. However I have run into a big problem that I have been unable to resolve. Changing the RenderType in the Tags{} or the value for Queue results in no change in the shader behavior. From what I understand the documentation states that you can use different render types or change the queue value in order to have certain shaders render on top of other items regardless of their depth from the camera. But I’ve tried a wide variety of solutions and can’t seem to get it working. I am using unity 5.4. I have used the debug mode to ensure that the shader’s queue value is correctly set by my shader, I have also used it to ensure that my material is set to -1 in order to use the shader’s queue. I have also tried setting the material custom render queue to my target queue value, this did not work either.
See the documentation here:
I am using the toon shader included in the standard assets and for comparison I have made a duplicate, renamed it and changed one line, the tags line, so that the new toon shader has a render queue of 1999. But I can’t get them to operate properly.
Please let me know if you can suggest anything to fix this. I can provide additional items/info if needed. Thank you.