- Home /
Using a particular pass in a multipass shader
Hi I have a multipass surface shader in my project. And i have 2 different operations to be performed on the vertices in the 2 passes. In my update function, I am sending 2 different vertices one after the other. I need the operation inside pass 1 to be performed on vertex 1 and operation inside pass 2 to be performed on vertex 2 every frame. I am unable to figure out how to do this. Any kind of help is appreciated. Thank you.
Comment
Your answer

Follow this Question
Related Questions
How do I find the index of a shader pass 2 Answers
What does the "FORWARD" mean when using pass of another shader? 1 Answer
Unity shaders - How can I loop a pass 0 Answers
2nd Directional light 0 Answers
How to detect DirectX 12? 0 Answers