GltfSetMaterial Op

GltfSetMaterial

Assigns a material to a node inside of the gltfScene op


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


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)

Shader/Material input

Material Name (String)

String used to define material assignment

OUTPUT PORTS


Material (Object)

Material out, should be connected to Material input of GLTFScene


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