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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Feature Request Custom node

Discussion in 'Shader Graph' started by minorchik, May 4, 2020.

  1. minorchik

    minorchik

    Joined:
    Feb 15, 2020
    Posts:
    5
    Pls add vertical-horizontal scrolling for body and make code window BIGGER(40*40 char min) or make body window scalable.
    thks
     
  2. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    I recommend using a .hlsl file instead! Far easier to work with than typing the code in the little window.
     
  3. LooperVFX

    LooperVFX

    Joined:
    Dec 3, 2018
    Posts:
    163
    @alexanderameye True though some basic quality of life improvements to the in node graph editor like this, and some basic syntax highlighting go a long way. Commonly the developer is in a rapid workflow with directed node graphs like this. Consider the case where you (anyone) are writing more than one liners in your custom shadergraph nodes but not writing huge functions that the residual task / context switching overhead between Unity and your IDE would be more efficient... there's a happy medium worth pursuing here.

    There is something invaluable in being able to see simple blocks of the "important" code right in the node graph layout that generates a massive amount of "less important" boilerplate code... you can clearly visualize what is happening with a balance of more or less abstraction as needed. Very helpful for rapid prototyping for those of us that could write it all from scratch but want to save time and/or collaborate with non-programmers, and for those learning and just starting to get comfortable with writing their own shader code here and there within shadergraph.
     
    Last edited: May 6, 2020
    alexanderameye likes this.
  4. minorchik

    minorchik

    Joined:
    Feb 15, 2020
    Posts:
    5
    i think shader graph is prototype only stage so its MUST be more comfortable than we have now.
     
    LooperVFX likes this.