Hi,
Iam trying to render two passes on the same submesh. Since URP seems to not allow multipass shaders, i tried applying two materials. This works fine with my simple test case in edit mode in the scene view, but as soon as you enter playmode/after entity conversion it only renders the first material in the renderers material list.
Is there a way to make this work for entities or are there any other ways i could approach this topic?
2 shaders one move vertecies to the right in red coating and the other green to the left.
In Scene view in edit mode both materials get rendered:
Mesh renderer conversion very specifically matches up submeshes to one material. You would need two meshes or one mesh with two submeshes to do something like this with the current state of things.