I'm developing a WebGL program with Unity 5.3.1
WWW www = new WWW(System.Uri.EscapeUriString(nrmUrl));
while (!www.isDone)
{
yield return null;
}
materailBall.GetComponent<Renderer>().material.SetTexture("_BumpMap", www.texture);
And the result is
It seems that the property texture type is Texture
Please help me to change texture type of this nrm image to Normal map
Is there some good ideal to download normal map texture?
Or someone can tell me how to use TextureImporter with www?
Thanks!!
Supplement:
If I create material with local file, here is the different
Texture type : Texture
Texture type : Normal map