How can i use next pass material in CC 3.8.0

  • I use x-ray effect with 2 materials. 1 for x-ray, 1 for default. But i dont know how to pass them in the same MeshRender.
    Someone can help me pls.
    Here is example:

Are you unsure of how to create a CocosEffect that uses multiple passes?

https://docs.cocos.com/creator/manual/en/shader/effect-syntax.html#pass

1 Like

Thanks, I dont know that. I have to use 2 nodes to achieve that :joy: