Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feature Request Disable Shader Graph preview

Discussion in 'Shader Graph' started by Livealot, Jul 30, 2020.

  1. Livealot

    Livealot

    Joined:
    Sep 2, 2013
    Posts:
    228
    When working with shader graphs with time nodes, there's an unpleasant mix of behaviour in the scene window/game window/shader graph window.

    Some play smoothly, some lurch.

    In scene view, you can toggle "animated materials" to move from lurch mode to smooth animation mode. But the game view still lurches until you enter Play mode.

    Ideally, it would be good to have similar controls to Particle Systems where you can play/pause/stop depending on your needs.

    Mostly, I want to be able to turn them all off outside of play mode, especially when working on other objects in the scene. Having something lurch in the background from what you're focused on is really distracting.

    When working on the shader graph objects, I either want it stopped or smoothly animating. It should never lurch.
     
  2. Kusalg

    Kusalg

    Joined:
    Aug 9, 2020
    Posts:
    4
    I second this one, I have some foliage I've animated using shader graph and the leaves go wild swinging everywhere when outside of the play mode, It would be really nice to have the animations behave like they do in play mode or else have the option to shut them off while editing.

    The problem seems to come when lerping between world position and a noise texture which is being influenced by time.
     
  3. djfungames

    djfungames

    Joined:
    Aug 16, 2017
    Posts:
    2
    Yes. I agree as well.
     
  4. Ne0mega

    Ne0mega

    Joined:
    Feb 18, 2018
    Posts:
    745
    bumping because I have been meaning to ask this.

    I think there should also be an option to disable all preview windows in nodes, because my instincts tell me that adds some of the lagginess when working with shadergraph.
     
  5. stroibot

    stroibot

    Joined:
    Feb 15, 2017
    Posts:
    91
    So I am not the only one that want's this, lol
     
  6. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,288
    +1.000.000.000 on this, in a bit more complex shader i wait 5+ minutes after every single action to compile and this is due to preview shaders as i see in the compile tab

    I have never ever used this preview, so is as useless as it goes given the time it takes for me
     
    ilcane87 likes this.
  7. HamCha87

    HamCha87

    Joined:
    Jan 4, 2019
    Posts:
    7
    Absolutely agreed. Bump.
     
    ilcane87 likes this.