Search Issue Tracker

Fixed

Votes

0

Found in

4.2.0f4

Issue ID

555074

Regression

No

WWW.texture destroys quality by converting PNG from sRGB->2.0 gamma and forgets to set sRGB flag on texture

Graphics - General

-

WWW.texture will create the texture in the active colour space only

It is not possible to choose which colour space to use, which is bad if your textures are for example in the sRGB colour space, but they get imported as Linear because the active colour space is Linear.

How to reproduce:

1. Open project Repro.7z
2. Open scene Scenes/TextureChangeTest.unity
3. Go into the Player Settings and make sure to use Linear colour space
4. Play the scene
5. Press the 1 key or the 2 key
- Notice that the image that is loaded using the 1 key is brighter than the other.
- Using www.LoadImageIntoTexture(texture) instead (the 2 key) loads the image properly

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.