Passing Data to Materials
Interfacing with materials through MetaGraph outputs.
Last updated
Interfacing with materials through MetaGraph outputs.
Last updated
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.