SourceShaderEditor/Ref color codes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:Source Shader Editor - Color codes}} There are several situations in the shader editor where a certain color is used to visualize...")
 
m (links)
Line 1: Line 1:
{{DISPLAYTITLE:Source Shader Editor - Color codes}}
{{DISPLAYTITLE:Source Shader Editor - Color codes}}


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 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.


== Nodes ==
== [[SourceShaderEditor/Ref_vocabulary#Node|Nodes]] ==
* Outline color
* Outline color
** light blue - Missing inputs.
** light blue - Missing inputs.
Line 14: Line 14:
** green - Node has been solved successfully.
** green - Node has been solved successfully.


== Bridges ==
== [[SourceShaderEditor/Ref_vocabulary#Bridge|Bridges]] ==
* light blue - Input is undefined.
* light blue - Input is undefined.
* black - Bridge is valid.
* black - Bridge is valid.

Revision as of 17:27, 20 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
    • light blue - Missing inputs.
    • black - All inputs defined without issues.
    • red - One or more inputs show errors or the parent node is erroneous.
  • Base color
    • 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.

Bridges

  • light blue - Input is undefined.
  • black - Bridge is valid.
  • 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.