Difference between revisions of "SourceShaderEditor/Ref color codes"

From Valve Developer Community
Jump to: navigation, search
m (links)
m (added light green node outline info + sorted by error level)
Line 5: Line 5:
 
== [[SourceShaderEditor/Ref_vocabulary#Node|Nodes]] ==
 
== [[SourceShaderEditor/Ref_vocabulary#Node|Nodes]] ==
 
* Outline color
 
* Outline color
 +
** black - All inputs defined without issues.
 +
** light green - The node has been solved and is currently declaring a new variable itself.
 
** light blue - Missing inputs.
 
** light blue - Missing inputs.
** black - All inputs defined without issues.
 
 
** red - One or more inputs show errors or the parent node is erroneous.
 
** red - One or more inputs show errors or the parent node is erroneous.
  
 
* Base color
 
* Base color
 +
** green - Node has been solved successfully.
 +
** blue - Node is a child of a container node and currently unsolved.
 
** grey - Node cannot be solved due to missing or wrong inputs.
 
** grey - Node cannot be solved due to missing or wrong inputs.
** blue - Node is a child of a container node and currently unsolved.
 
** green - Node has been solved successfully.
 
  
 
== [[SourceShaderEditor/Ref_vocabulary#Bridge|Bridges]] ==
 
== [[SourceShaderEditor/Ref_vocabulary#Bridge|Bridges]] ==
 +
* black - Bridge is valid.
 
* light blue - Input is undefined.
 
* light blue - Input is undefined.
* black - Bridge is valid.
 
 
* red - The target node has an error.
 
* red - The target node has an error.
  

Revision as of 17:22, 21 July 2011


There are several situations in the shader editor where a certain color is used to visualize the state of an object on the canvas, this list provides an overview.

Nodes

  • Outline color
    • black - All inputs defined without issues.
    • light green - The node has been solved and is currently declaring a new variable itself.
    • light blue - Missing inputs.
    • red - One or more inputs show errors or the parent node is erroneous.
  • Base color
    • green - Node has been solved successfully.
    • blue - Node is a child of a container node and currently unsolved.
    • grey - Node cannot be solved due to missing or wrong inputs.

Bridges

  • black - Bridge is valid.
  • light blue - Input is undefined.
  • red - The target node has an error.

Canvas outline

  • invisible - The current preview shader matches the shader setup on the canvas.
  • grey - The preview shader is currently outdated.
  • flashing red - There was a compiler error.


Warning: Any type of visible error on the canvas will prohibit compilation of the respective hierachy.