Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Calling different passes of a shader

Discussion in 'Scripting' started by mahdiii, Feb 24, 2020.

  1. mahdiii

    mahdiii

    Joined:
    Oct 30, 2014
    Posts:
    856
    Hi. I want to run several passes of a shader for example pass 0, pass 2 and pass3 but not pass 1 in a moment.
    How can I achieve this?
    Thanks in advance.
     
  2. palex-nx

    palex-nx

    Joined:
    Jul 23, 2018
    Posts:
    1,748
  3. mahdiii

    mahdiii

    Joined:
    Oct 30, 2014
    Posts:
    856
    Last edited: Feb 25, 2020
  4. csofranz

    csofranz

    Joined:
    Apr 29, 2017
    Posts:
    1,556
    I don't want to put too fine a point on this, but
    • reading your question and @palex-nx answer, I too feel that their answer was correct
    • obviously palex read your question and answered to their best knowledge; you are out of line
    • If someone does not understand your question, that is *your* fault. Successful communication is always the responsibility of the sender.