Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Order in layer

Discussion in 'Shaders' started by BAnyBudde, Nov 4, 2015.

  1. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    I am having an issue with the Particle/Additive (soft) shader.
    It seems that when I try to change it's Render Queue, it does not work.
    When I change my shader to something else, the Render Queue changes as
    commanded. I need to use that specific shader to get the desired result.
    Is anyone aware of the problem or a problem surrounding what may be the cause of this?

    Thanks
     
  2. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    ANYONE? DEVS?
     
  3. Fuegan

    Fuegan

    Joined:
    Dec 5, 2012
    Posts:
    20
    I had the same problem with Unity 5.2, it just seems that the tags are not refresh on the object when you save the shader in mono. It should be ok if you set again the shader in the material after you do some modification to the Render Queue.
     
  4. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    Hey Fuegan,

    Thanks for the reply, I seem to be having an issue with it still.
    I'm not 100% sure if I understand what you meant, but I am still giving it a try.
    If anyone else knows how to fix this, please help me out.
     
  5. Fuegan

    Fuegan

    Joined:
    Dec 5, 2012
    Posts:
    20
    Well my problem was when I changed the tag "Queue" in shader (let say "Geometry" to Geometry+1") it wouldn't register the change on the materials using the shader. The solution I found is to re-apply the shader to the materials using it (Like drag&drop the shader on the material).

    I hope this will make it clear and if you still have problems after that feel free to show us your code so we can know exactly what is happening.
     
  6. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    Thanks for the reply, I managed to find an alternative shader for now.
    But I will def use your approach in the future :)

    Really appreciate the help man!