Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Latest commit

 

History

History
48 lines (33 loc) · 2.02 KB

GeometryNodes.md

File metadata and controls

48 lines (33 loc) · 2.02 KB

Geometry Nodes Synchronization

Geometry Nodes is a feature that is currently only provided by Blender and used for modifying the geometry of an object with node-based operations.
Meshsync will automatically synchronize geometry node instances during the sync process from the DCC tool to Unity.

Operations

Disabling Instances

To stop rendering instances of an object:

  1. Click on the GameObject corresponding to the Blender object that has the geometry node modifier which generates the instances.
  2. Find the MeshSyncInstanceRenderer component that has a reference to the instanced object.
  3. Disable the component to disable the instances.

Controlling instances

We can control the rendering and world transform of instances by modifying the GameObject that is being instantiated.

Menu

Property changes in the following components are automatically applied on instances:

Components Properties
Transform * Position
* Rotation
* Scale
* Layer
MeshRenderer * Cast Shadows
* Receive Shadows
* Light Probes
* Proxy Volume Override
SkinnedMeshRenderer * Cast Shadows
* Receive Shadows
* Light Probes
* Proxy Volume Override

Runtime-Builds

We can create Runtime builds that render Geometry Nodes instances.
In order to do this, make sure that the required instancing variants are not stripped by selecting Keep All or Strip Unused option in Project SettingsGraphicsShader StrippingInstancing Variants.

Limitations

Currently, this geometry nodes synchronization feature has the following limitations:

  1. No SceneCache support.
    Importing instances from a SceneCache file is not supported.
  2. No Preview in the Inspector window.
    Previewing instances inside an asset in the Inspector window is not supported.