To create a custom node:
A default node is created with a terrain type input, a terrain
type output, and one parameter.
As the input connector is not linked, the node appears as invalid.
The new node may appear invalid if it needs input data. Link it with a compatible input node.
Right-click the node to show the contextual menu then select Edit custom node.
The custom node graph window opens. This is where you define the input, output and parameter (including manipulators) nodes, and also enter the GPU or Python script.
Each time you create an input, an output or a parameter, a
connector is added to the script node.
When you remove an input, an output or a parameter, the related connector is deleted from the script node.
Warning: when renaming a node, do not use spaces. All space will be removed. Use only letters, numbers and underscores for node names, and the first character must be a letter.
Select the script node to open its properties and the script editor.
When the node has no input terrain or mask (the node is a generator), you can specify the size (width, height, quad size). Otherwise, these options are disabled and the values set from the input terrain / mask and the output grids take the same values.
Copyright © 2022 · All Rights Reserved · Wysilab