1. A concise explanation of the problem you’re experiencing.
As you can see in the attachment, I want to implement this function, which sticks the real-time video as textures on the model. I have already done it without cesium. But I don`t know how to do it in cesium. I used Shadow Map algorithm to do it. How can I get the same things done in cesium?I am not very familiar with cesium.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
This is my code.I load the b3dm models and create a camera as the video camera which has real time video.Right now, I want to get the b3dm`s material and write shaders, which can switch the view point to the camera I created and get the fragment needed to be changed by real time video image. This is shadow map algorithm. I know I should use shadow map algorithm to get this thing done. But I dont know how to do it in cesium.
<!--
How to load mapbox server with MapboxImageryProvider
–>
MapBox
html,
body,
#cesiumContainer {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
#toolbar {
margin: 5px;
padding: 2px 5px;
position: absolute;
left: 0px;
top: 0px;
}
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
Right now, I want to get the b3dm`s material and write shaders, which can switch the view point to the camera I created and get the fragment needed to be changed by real time video image.
4. The Cesium version you’re using, your operating system and browser.