Does 3d-tiles support color blend mode?

Hi everyone

I wonder if 3d-tiles support color blend mode such as Replace.

Because I have seen a Color Blend Mode button in 3d-tiles demo in Sandcastle. (See the image below)

But I don’t know how to use it in sandcastle or my own 3d-tiles demo.

I have some 3d-tiles models that have materials already. Is it possible to change the color of the model into a totally different color by using Replace color blend mode in 3d-tiles?

Any help appreciated

Thanks

Chris

You can change the color blend mode with tileset.colorBlendMode = Cesium.Cesium3DTileColorBlendMode.REPLACE;

In order to see the affect you need to have a style applied or set the feature colors.

For REPLACE there is one extra step needed, the diffuse parameter in your gltf needs to add the _3DTILESDIFFUSE semantic.

“techniques”: {

“technique0”: {

“parameters”: {

“diffuse”: {

“type”: 35678,

“semantic”: “_3DTILESDIFFUSE”

}

}

}

}

``