Skip to content

Commit 8159b03

Browse files
Adjust documentation
1 parent 1db4dc5 commit 8159b03

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7-
## [1.3.0] - 2023-12-13
7+
## [1.3.0] - 2023-12-14
88

99
### Added
1010

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In ShaderGraph, simply change your *"Custom Editor GUI"* setting to the named cl
2929

3030
### Labels & Alignment
3131

32-
> Use these naming rules to adjust the spacing of your Material's inspector and organize fields. Note that these properties are only meant to send information to OpenGraphGUI and will not be rendered, so you can use any type you prefer, though Boolean is the simplest.
32+
> Use these naming rules to adjust the spacing of your Material's inspector and organize fields. Note that these properties are only meant to send information to OpenGraphGUI and will not be rendered, so you can use any type you prefer. For consistency, choosing a Boolean for these properties is simplest.
3333
3434
Prefix one of your property names with the **star symbol (\*)** and that field will become a bold label. For example, if you want a bold label with the text **"Lighting"**, use the name `*Lighting` for that property in ShaderGraph.
3535

@@ -57,6 +57,8 @@ Follow up any texture property with a property that uses the **arrow prefix (^)*
5757

5858
<img width = "800" src="Documentation~/DocAssets/DependentTags.gif">
5959

60+
**NEW!** Prefix any vector property with **2~**, **3~**, or **4~** to show it as a Vector2, Vector3, or Vector4 field respectively. By default, ShaderGraph material inspectors render all vectors as Vector4, so this extra information is necessary to tell OpenGraphGUI which type you want to use. Example name: `2~MyVector2` or `3~MyVector3`
61+
6062
### Extensions
6163

6264
**OpenGraphGUI** also supports custom property extensions if you'd like to keep the ease of use of prefixing without re-writing the whole package.

0 commit comments

Comments
 (0)