Thank you for your reply.
But - could you perhaps give a more detailed instructions of the czm_materialInput usage. The question is what would be the needed materialInputs in GLSL code for just adding a texture to the cube. At this point I don't really care the positioning of the texture around the cube.
What I have so far:
- I started with the Custom Rendering example
- I have a database in the background to control the position of the several cubes on the globe
- I gave my new objects new Cesium.Material (an image texture as an uniform, example seen in the Fabric blog)
- Then I am to combine the material uniforms in the object's update function:
this._colorCommand.uniformMap = Cesium.combine([this._colorCommand.shaderProgram._uniforms, this.material._uniforms]);
-Karpo