Hi, In my custom primitive I set my render state to be:
this._renderState = Cesium.RenderState.fromCache({
cull: {
enabled: true,
face: Cesium.CullFace.BACK
},
depthTest: {
enabled: false
},
depthMask: true,
blending: Cesium.BlendingState.ALPHA_BLEND
});
I set the color to [1.0, 1.0, 1.0, 0.2]
But it see that the alpha channel is being ignored.
In normal webgl I would just use the
- gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA);
How would I do that in cesium ?