Since I upgraded to Unity 5.1.0f3, my call to:
camera.RenderWithShader(myShader, "Rendertype");
doesn't work anymore: the camera doesn't render anything at all.
If I replace it with a generic replacement:
camera.RenderWithShader(myShader, "");
then it works again (but it will replace *all* shader instead of only those with a specific Rendertype tag.
It was working previously with Unity 5.0.2p2
↧