SourceShaderEditor/Ref color codes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added light green node outline info + sorted by error level)
(added tab colors)
 
Line 2: Line 2:


There are several situations in the [[:Category:SourceShaderEditor|shader editor]] where a certain color is used to visualize the state of an object on the [[SourceShaderEditor/Ref_vocabulary#Canvas|canvas]], this list provides an overview.
There are several situations in the [[:Category:SourceShaderEditor|shader editor]] where a certain color is used to visualize the state of an object on the [[SourceShaderEditor/Ref_vocabulary#Canvas|canvas]], this list provides an overview.
== Flowgraph tabs ==
* green - HLSL graph
* red - Post processing graph


== [[SourceShaderEditor/Ref_vocabulary#Node|Nodes]] ==
== [[SourceShaderEditor/Ref_vocabulary#Node|Nodes]] ==

Latest revision as of 06:34, 28 February 2012


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.

Flowgraph tabs

  • green - HLSL graph
  • red - Post processing graph

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.pngWarning:Any type of visible error on the canvas will prohibit compilation of the respective hierachy.