GltfSetMaterial Op

GltfSetMaterial

Assigns a material to a node inside of the gltfScene op


<p>This op can be used to assign a material to parts of mesh. It requires a material to be plugged into the shader input.</p>


Full Name
  • Ops.Gl.GLTF.GltfSetMaterial
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch GLTF model with textures

Open In Editor

Youtube Video Tutorial

INPUT PORTS


Shader (Object:shader)

<p>Shader/Material input</p>

Material Name (String)

<p>String used to define material assignment</p>

OUTPUT PORTS


Material (Object)

<p>Material out, should be connected to Material input of GLTFScene</p>


Patches using GltfSetMaterial

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2019-12-07 22:05
Ops.Gl.GltfSetMaterial renamed to Ops.Gl.GLTF.GltfSetMaterialuser avatarpandur - 2020-02-10 09:26