how to render the image that clamp to the gltf model?

hi,everyone,i want to render the image that clamp to the gltf model, similar to the SingleTileImageryProvider or the GroundPrimitive,which image always clamp to the terrain.i want to render as blow: