Hi,
For debug purpose, I made an EditorWindow where I can switch between Gamma Color Space and Linear Color Space.
private ColorSpace colorSpace = ColorSpace.Uninitialized;
void OnGUI()
{
PlayerSettings.colorSpace = (ColorSpace)EditorGUILayout.EnumPopup("Color Space", PlayerSettings.colorSpace);
if (PlayerSettings.colorSpace != colorSpace)
{
colorSpace = PlayerSettings.colorSpace;
// Do some stuff on change...
}
}
The player settings Color Space is replaced by the selected Color Space but it seems that something is missing… It seems that the textures are not converted in the right Color Space.
What is the real process behind switching Color Space ? How can I change Texture import settings to match with the selected Color Space ?
Thank you !