Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

tonemapping editor mode. beta 20

Discussion in 'Unity 5 Pre-order Beta' started by zelmund, Jan 23, 2015.

  1. zelmund

    zelmund

    Joined:
    Mar 2, 2012
    Posts:
    432
    i found interesting "feature": tonemapping in editor screen...
    how this happen and how it to turn off? i dont remember it in beta 18

     
  2. Gokcan

    Gokcan

    Joined:
    Aug 15, 2013
    Posts:
    289
    It seems like a bug
     
  3. zelmund

    zelmund

    Joined:
    Mar 2, 2012
    Posts:
    432
    and by the way, it happens if tonemapping effect on camera.
     
  4. Reanimate_L

    Reanimate_L

    Joined:
    Oct 10, 2009
    Posts:
    2,782
    what tonemapping mode did you use? if it's adaptive tonemapper that's how it works since it's adjusting the exposure automatically. And it's been like that in unity5 if i'm not mistaken
     
  5. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,435
    Adaptive tonemapping does the auto adjustment when you change locations in your game, this is normal. I'd recommend using either Hable or Photographic
     
  6. zelmund

    zelmund

    Joined:
    Mar 2, 2012
    Posts:
    432
    adaptive reinhard

    in game view. not in editor view. im my case its affect on editor view too.
     
  7. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    I agree it's a bit senseless having tone mapping in editor scene view. That's what game view is for.
     
  8. shkar-noori

    shkar-noori

    Joined:
    Jun 10, 2013
    Posts:
    833
    I think allowing not only the tonemapper, but all the image effects in the scene view is a good idea, we can just somehow disable and enable them from the chosen camera, but they shouldn't affect the gizmos.
     
  9. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    I don't really need it. All I do is have an editor script that changes the game camera to match the orientation and position of the editor camera. It simply only runs when not in play mode and is ideal for us. A simple but effective solution.

    We use something like (on game camera):

    Code (CSharp):
    1.  
    2. #if UNITY_EDITOR
    3.     void OnDrawGizmos()
    4.     {
    5.         if (!Application.isPlaying)
    6.         {
    7.             if (Camera.current != null)
    8.             {
    9.                 Vector3 pos = Camera.current.transform.position;
    10.                 Quaternion quat = Camera.current.transform.rotation;
    11.  
    12.                 transform.position = pos;
    13.                 transform.rotation = quat;
    14.             }      
    15.         }
    16.     }
    17. #endif
    18.  
    TBH most people should be using that script or similar - it's a vast productivity boost when tweaking post effects and so on. I agree that it would be nice to have natively, but if Unity staff is too busy working on other things, this should serve meanwhile.
     
    shkar-noori likes this.
  10. Reanimate_L

    Reanimate_L

    Joined:
    Oct 10, 2009
    Posts:
    2,782
    actually having all image effect running in scene view is great on workflow, just need a toggle to turn it off. Maybe another option in the effect button would be nice.
     
  11. zelmund

    zelmund

    Joined:
    Mar 2, 2012
    Posts:
    432
    maybe it is, but on practice its not so efficient. i need to split monitor to 2 view, and i need to feel somehow the cursor. control on 1 view and look to another to see what i need.

    - not all effects can be run correctly. tonemapping for example changing bright depnding on time, but time work in "play" mode only. but i dont want to hit play and play the game, i just need to edit with play mode image effects.