Voxel Plugin
2.0p-320
2.0p-320
  • Home
  • Roadmap
  • Getting Started
    • Installing Voxel Plugin
    • Installing Example Content
    • Migrating from 1.2
  • Basics
    • Brush & Channels
    • Foliage
    • Navmesh & Collision
    • Density Canvas
    • Blueprints
      • Setting graph parameters
      • Querying voxel graphs
    • Cubemap planets
  • Advanced Usage
    • Memory Usage & Render Performance
    • Using Graph Preview
    • Debugging plugin code
  • Platform Support
    • Targeting Mac & iOS
    • Targeting Android
  • Design Insights
    • Why Landmass & MetaGraphs
    • Channels & Physics Scenes
    • Execution Flow & Query Data
    • Node Types
    • Passing Data to Materials
    • MetaGraph Macros
    • Buffers and Uniforms
    • Utilities for Performant Graphs
  • Licensing
  • Release Notes
Powered by GitBook
On this page

Was this helpful?

  1. Design Insights

Passing Data to Materials

Interfacing with materials through MetaGraph outputs.

PreviousNode TypesNextMetaGraph Macros

Last updated 1 year ago

Was this helpful?

The information on this page is out-of-date for this release. The page exists because it needs to be updated.

Any data that can be represented as a float can be passed into materials from a MetaGraph. Information can be passed using Vertex Data, or using detail textures.

The Vertex Data's Color and Texture Coordinate pins can be used to transmit vertex data. The Detail Texture's Color pin will create a texture at a higher resolution than the mesh' vertex density, and can then be retrieved in a material using the Voxel_GetDetailTextures UV pin to sampe a Texture Parameter named VoxelDetailTextures_<NAME>Texture, with <NAME> being identical to your MetaGraph node's Name pin.