Hi, I am curious how I would go about applying shaders to ArcGIS, for example I want one shader for the basemap/terrain and another for a 3D object layer or an Integrated mesh layer.
Solved! Go to Solution.
ArcGIS3DObjectSceneLayer has a setter on it for a material reference so what you need to do is set that material to be one you created and within that you can configure the shader how you like. Look at the Attribute Rendering sample for a better idea on what is possible.
As for the tiles on the ground we don't truly expose a way to work with this. But you can open the TileSruface.mat that is inside the plugin and change that to do what you want. Warning changing the tiles in a meaningful way is a difficult.
ArcGIS3DObjectSceneLayer has a setter on it for a material reference so what you need to do is set that material to be one you created and within that you can configure the shader how you like. Look at the Attribute Rendering sample for a better idea on what is possible.
As for the tiles on the ground we don't truly expose a way to work with this. But you can open the TileSruface.mat that is inside the plugin and change that to do what you want. Warning changing the tiles in a meaningful way is a difficult.
Is there any further guidance on this subject. I'm trying to add transparency to the base map, but so far, updating the material of the tile directly or via material property blocks only seems to break your material instancing?