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

Link to the tutorial video : https://youtu.be/D2iecoKFUtw Link to the model on sketchfab : https://sketchfab.com/3d-models/forest-scene-e5eb4867faba465d99deda487c56fbd6 Credits to Dries Deryckere at https://driesderyckere.artstation.com/
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