Closed ghost closed 2 years ago
In mapDisplay, "textureRender.sharedMaterial.mainTexture = texture;" ... doesn't seem to do anything in HDRP.
Added public string at top of MapDisplay:
public string texName = "_BaseColorMap";
Then, changed : textureRender.sharedMaterial.mainTexture = texture;
to: textureRender.sharedMaterial.SetTexture(texName, texture);
In mapDisplay, "textureRender.sharedMaterial.mainTexture = texture;" ... doesn't seem to do anything in HDRP.