Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

Transparency using Standard Shader does not work on IOS

$
0
0
The code to setup the MeshRenderer that works on other platforms:

mr.material.color = col;
mr.sortingLayerName = "Transparency";
mr.material.SetFloat("_Mode", 2.0f);
mr.material.SetInt("_SrcBlend", (int)UnityEngine.Rendering.BlendMode.SrcAlpha);
mr.material.SetInt("_DstBlend", (int)UnityEngine.Rendering.BlendMode.OneMinusSrcAlpha);
mr.material.SetInt("_ZWrite", 0);
mr.material.DisableKeyword("_ALPHATEST_ON");...

Transparency using Standard Shader does not work on IOS

Viewing all articles
Browse latest Browse all 10823


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>