Skip to main content

First Node Graph

Getting Started

This page walks you through creating your first CosmoNode graph and attaching it to a scene object.


1. Add CosmoNode to the Scene

  1. Create a new GameObject in your scene.
  2. Add the CosmoNode component to the GameObject.

This component is responsible for evaluating and applying the node graph.


2. Create a Node Graph

  1. In the Project window, right-click inside the Assets folder.
  2. Select Create → Node Graph.
  3. Name the graph as desired.

This graph will contain all your procedural nodes.


3. Assign the Graph

  1. Select the GameObject with the CosmoNode component.
  2. Assign the newly created Node Graph asset to the graph field in the inspector.

Once assigned, the graph is ready to be evaluated.


Start Building

After these steps, you can begin adding nodes, connecting them, and generating geometry using CosmoNode.

From here, explore the node reference or try creating simple generators and modifiers to get familiar with the workflow.