# Is there any way that change the node of loaded model's transparency and other properties.

**URL:** <https://community.cesium.com/t/is-there-any-way-that-change-the-node-of-loaded-models-transparency-and-other-properties/4362>\
**Category:** CesiumJS\
**Created:** [July 14, 2016, 9:50am UTC](https://community.cesium.com/t/is-there-any-way-that-change-the-node-of-loaded-models-transparency-and-other-properties/4362 "2016-07-14T09:50:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rashawn\_Zhang](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@Rashawn\_Zhang](https://community.cesium.com/u/Rashawn_Zhang)\
**Post date:** [July 14, 2016, 9:50am UTC](https://community.cesium.com/t/is-there-any-way-that-change-the-node-of-loaded-models-transparency-and-other-properties/4362/1 "2016-07-14T09:50:48Z")

</div>

I found the node's runtimeNode property in which I can modify some of the properties of the node.

But if I want to set a node alpha, for example, 0.5, what should I do.

I found the mesh bounding to the node. And in mesh materials uniformmap values diffuse value context alphabits and clearcolor alpha.

I don't know what these two stand for. And the alpha in clearColor can't be changed while the alphabis property can, but takes no effect. I tried viewer.render(). Still nothing happened.

So what's the right way to do that, and what's the CORRECT to modify nodes of models in runtime?

These are the values I mentioned.

[![](https://i.imgur.com/FIDKKxs.png) ](https://i.imgur.com/FIDKKxs.png)

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [July 14, 2016, 2:09pm UTC](https://community.cesium.com/t/is-there-any-way-that-change-the-node-of-loaded-models-transparency-and-other-properties/4362/2 "2016-07-14T14:09:02Z")

</div>

Hello,

This is something we plan on adding, but it’s not currently part of Cesium. We have a GitHub issue written up here: [https://github.com/AnalyticalGraphicsInc/cesium/issues/2387](https://github.com/AnalyticalGraphicsInc/cesium/issues/2387)

Best,

Hannah

---

<div class="post-metadata">

**Author:** ![Rashawn\_Zhang](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@Rashawn\_Zhang](https://community.cesium.com/u/Rashawn_Zhang)\
**Post date:** [July 14, 2016, 3:11pm UTC](https://community.cesium.com/t/is-there-any-way-that-change-the-node-of-loaded-models-transparency-and-other-properties/4362/3 "2016-07-14T15:11:35Z")

</div>

So does this mean we can’t modify the material of rendered meshes in the latest version. The method highlighting nodes mentioned in issue #2387 is useful but may cost much more if the model is very large.

在 2016年7月14日星期四 UTC+8下午10:09:02，Hannah Pinkos写道：

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [July 14, 2016, 3:37pm UTC](https://community.cesium.com/t/is-there-any-way-that-change-the-node-of-loaded-models-transparency-and-other-properties/4362/4 "2016-07-14T15:37:58Z")

</div>

That’s correct. You can try using [ModelMaterial.setValue](http://cesiumjs.org/Cesium/Build/Documentation/ModelMaterial.html#setValue), but this will change the material for every node that is using that material. We have to make some significant changes to the way we load glTF models in order to support changing the material for just a single node.

-Hannah

---

<div class="post-metadata">

**Author:** ![Rashawn\_Zhang](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@Rashawn\_Zhang](https://community.cesium.com/u/Rashawn_Zhang)\
**Post date:** [July 18, 2016, 2:31am UTC](https://community.cesium.com/t/is-there-any-way-that-change-the-node-of-loaded-models-transparency-and-other-properties/4362/5 "2016-07-18T02:31:16Z")

</div>

I read all these issuses.  
[https://github.com/KhronosGroup/glTF/issues/401](https://github.com/KhronosGroup/glTF/issues/401)

[https://github.com/AnalyticalGraphicsInc/cesium/issues/1754](https://github.com/AnalyticalGraphicsInc/cesium/issues/1754)

[https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/42](https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/42)

Dose it mean that this is solved by putting my gltf files into gltf-pipline and get the new gltf files?

在 2016年7月14日星期四 UTC+8下午11:37:58，Hannah Pinkos写道：

---

<div class="post-metadata">

**Author:** ![Rashawn\_Zhang](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@Rashawn\_Zhang](https://community.cesium.com/u/Rashawn_Zhang)\
**Post date:** [July 18, 2016, 4:00am UTC](https://community.cesium.com/t/is-there-any-way-that-change-the-node-of-loaded-models-transparency-and-other-properties/4362/6 "2016-07-18T04:00:09Z")

</div>

And what dose ‘global node transform’ mean in the gltf overview?([https://i.imgur.com/F7ykzFi.png](https://i.imgur.com/F7ykzFi.png))

在 2016年7月14日星期四 UTC+8下午11:37:58，Hannah Pinkos写道：
