GltfSetMaterial Op
Assigns a material to a node inside of the gltfScene op
Summary (oneliner)
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
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
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/
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