In-game images color space issue

Started by Anthon 2 posts 133 views

Reply on sbox.game
  1. #1
    Anthon 590
    Hey ! 

    I don't know if it's a recent update that caused this or if I messed something up. I was working in a prefab where some of my icons are located. I saved the prefab as usual, but in-game, the icons seem to have changed color spaces? 

    Normal icons vs altered in game icon



    image.png 13.26 KB
    It also happened on pretty much all the images in my game. Everything is more high-contrast and darker : 
    If I go back to my prefab and reassign those images, the issue is fixed, but if I restart the editor, it happens again on its own.
  2. #2
    Anthon Started this 590
    Quick update: the only way I've found so far to work around this issue is to click on my image and select “Create Texture,” then assign the sRGB color space to the newly created .Vtex file. And the colors look fine! This makes me wonder if the automatically generated Vtex files might have an issue with color space assignment during generation ?