beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

GltfSetMaterial Op

Ops.Gl.GLTF.GltfSetMaterial


GltfSetMaterial
Namespace: Ops.Gl.GLTF

Op author: pandur

Test Patches: 4 Tests

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.



Inputs

Shader (Object)

Shader/Material input

Material Name (String)

String used to define material assignment

Outputs

Material (Object)

Material out, should be connected to Material input of GLTFScene

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

GLTF model with textures

Open Example In Editor

Youtube Video Tutorial

Patches using GltfSetMaterial

Changelog


created op
2019-12-07 - pandur
Ops.Gl.GltfSetMaterial renamed to Ops.Gl.GLTF.GltfSetMaterial
2020-02-10 - pandur