Tried assigning dynamicMaterial.. but it says it is null
mapTexture.drawCall.dynamicMaterial.shader = testShader;
Garh....
I even tried :
mapTexture.mainTexture = Get_CurrentMap();
mapTexture.drawCall.dynamicMaterial.shader = testShader;
And this is with the UITexture inspector saying that I have my custom material selected. ( I put one in to test..)
I thnk UITexture when used with its own texture (not shared from atlas) or when supplied my own custom material (and shader) , it should render separately and not use the default shader. but for some reason, it always keep using the default shader... very sad.. Perhaps because the UITexture itself is child of ScrollView?