In EditorGUI Texture2D is dark.

Only one image is normal. Image 2 is correct.

  1. EditorGUILayout.LabelField(new GUIContent(imageHolder), GUILayout.Width(1920f / 8f), GUILayout.Height(1080f / 8f));
  2. EditorGUI.DrawPreviewTexture(new Rect(0f, 60f + 1080f / 8f, 1920f / 8f, 1080f / 8f), imageHolder);
  3. GUI.DrawTexture(new Rect(0f, 70f + (1080f / 8f)*2f, 1920f / 8f, 1080f / 8f), imageHolder);
  4. Graphics.DrawTexture(new Rect(0f, 80f + (1080f / 8f) * 3f, 1920f / 8f, 1080f / 8f), imageHolder);

I dont understand why this images are so dark. Source image is much more bright.

I have the same problem, do anyone know how to fix it without using DrawTextureTransparent ? I want to use custom shader.