Boat Attack使用了Universal RP的许多新图形功能,可以用于探索 Universal RP 的使用方式和技巧。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

1.6 KiB

Blackboard

Description

The Blackboard lists Properties and Keywords available for use in the graph. Here, you can define a range of Property and Keyword types, and the corresponding names, attributes, and default values. You can also expose Properties and Keywords to Materials that use the shader.

To change the path of a Shader Graph Asset, click on its path field in the Blackboard, and enter the new path. The Unity Editor uses the Shader Graph path to list the corresponding Shader Graph Asset in the Material Inspector's Shader drop-down menu. Similarly, you can change the path field of a Sub Graph. The Editor uses the Sub Graph path to list the corresponding Sub Graph Asset in the Create Node Menu.

You can move the Blackboard anywhere in the Shader Graph Window. It always maintains the same distance from the nearest corner, even if you resize the window.

To create a new Property or Keyword, click the Add (+) button on the Blackboard's title bar, and select a Property or Keyword type.

To reorder items listed on the Blackboard, drag and drop them. To delete items, use the Delete key on Windows, or the Command + Backspace key combination on OS X. To rename an item, double-click on its name, and enter a new name. Drag Properties and Keywords from the Blackboard to the graph to create a corresponding node.

For a full list of Property types, see Property Types.