Question by
wowcheater · Mar 25, 2020 at 11:35 PM ·
texturewebrequest
Same png file import from asset and download with Unitywebrequest got different result
I got a png file to use as an image mask, the color on the mask is queried in by a shader to decide which part of the mask will be used. I put this mask into asset to develop and test, and everything goes well, then i tried to move this file to a remote server and download with UnityWebRequest, but this time the color on the downloaded texture went slightly off than the one i got from local asset. I tried encode the downloaded texture into a png file and compare it with the original one from the server using BeyondCompare , the software shows color change all over the image. Why?
test.png
(115.2 kB)
Comment