the ShareGeometry _geom will be rendered by call statement" _geom->render(ptype, ri);"
As I know the tiles at the same latitude share the same ShareGeometry "_geom"; So could I suppose that the tiles at the same latitude rendered with the same vertexs, normals,etc. however the tiles at the same altitude with different elevations.So the geometries of the tiles at the same altitude will be different.So how does the ShareGeometry work?
In Rex, the elevation data is stored in a texture, not in the vertex data. So, tiles at the same latitude can share the same SharedGeometry but different elevation data is applied to each in a shader.
Thank you for your reply,Now I have an idea according to your explanation of the ShareGeometry.I wanna try to modify the buffer of the texture applied to the shader program.But i didn't find the interface to get the buffer of osg::Texture.