Timeline for Sprite changes colour when imported into Unity
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 22, 2017 at 16:00 | history | edited | Ismael | CC BY-SA 3.0 |
Changed title
|
Aug 19, 2017 at 15:30 | vote | accept | Ismael | ||
Aug 18, 2017 at 7:18 | answer | added | Ismael | timeline score: 2 | |
Aug 17, 2017 at 20:33 | comment | added | DMGregory♦ | I didn't answer, I just asked what apparently turned out to be a fruitful question. ;) Feel free to post your own answer explaining what you did to solve the problem. Answering & accepting your own posts is totally OK here. :) | |
Aug 17, 2017 at 19:25 | comment | added | Ismael | Thanks, in the end, that was so easy! :) @DMGregory Can you answer the question so that I officially mark your answer as correct and close the thread? ;) | |
Aug 17, 2017 at 18:19 | comment | added | Draco18s no longer trusts SE | @Ismael You could also just change the compression type used. i.sstatic.net/vbtj3.png | |
Aug 17, 2017 at 17:29 | comment | added | Ismael | @DMGregory, that's it! I've "broken" the size of the sprite so that no DXT5 compression is applied and the colour is correct now. For the positive case, the BC7 compression has been automatically applied, although all the other settings are the same. I suppose it has something to do with the shape of the sprite? | |
Aug 17, 2017 at 17:14 | comment | added | DMGregory♦ | I notice you're using DXT5 compression for the triangle, which has reduced colour precision (5,6,5 bits of RGB respectively, or a 1/3:2/3 blend of two such colours). Are you using the same compression for your positive test case? | |
Aug 17, 2017 at 15:32 | history | edited | Ismael |
edited tags
|
|
Aug 17, 2017 at 14:15 | comment | added | Ismael | I've just checked the lighting settings, but noticed nothing unusual. Environment Lighting / Source: Color hsv(0, 0, 255). | |
Aug 17, 2017 at 14:00 | comment | added | Ismael | Added the import settings. My in-scene object uses default sprite material. | |
Aug 17, 2017 at 13:58 | history | edited | Ismael | CC BY-SA 3.0 |
Added import settings screenshot. Eliminating first image (can't post more than 2).
|
Aug 17, 2017 at 13:47 | comment | added | DMGregory♦ | Can you show us your texture import settings? Specifically the compression mode and "Alpha is transparency" flags may be relevant here. | |
Aug 17, 2017 at 13:46 | comment | added | Ismael | Yes, verified in IrfanView that the colour is correct. The import setting for the two images are exactly the same. | |
Aug 17, 2017 at 13:45 | comment | added | Tolga Şen | Have you tried manipulating the shader of the auto-created game objects (when you drag the sprite into the scene)? If you go with standard shaders, the sprites might be affected by the scene's lighting settings. | |
Aug 17, 2017 at 13:42 | comment | added | AresCaelum | A few questions, Have you opened the png's with another image editting tool and verified the color values are indeed correct after exporting? Are you using the default sprite settings when importing? Are you using the point filter? | |
Aug 17, 2017 at 12:25 | history | asked | Ismael | CC BY-SA 3.0 |