|
I have this simple shader here... ...wich doesn't work as supposed to do.I need it to render above everything in the scene, (and it should do it, since "Queue" is set up to "Overlay"), but I've the feeling that it's completely ignoring the "Queue" tag. No matter how I change it, it always renders like its queue is "Transparent". Other objects in the scene are all rendered in Geometry and Transparent queue, and their depth sorting is perfect. This is the only one not working. Any suggestions? Did I write something wrong? Thanks!
(comments are locked)
|
|
Use See also this http://answers.unity3d.com/questions/50131/simple-shader-question.html The "Queue" specifies the order of the rendering (but the rendering may still be skipped by the zbuffer test). Changing the render-queue is needed for performance tuning and making sure that transparent objects are rendered last (since they should never be overdrawn by an opaque object). Fantastic, it's working exactly as I want. Thank you very much, and thanks also for the explanation. :)
Aug 29 '11 at 11:03 PM
DanjelRicci
(comments are locked)
|
