cesium-unreal
cesium-unreal copied to clipboard
Support additional rendering properties on Cesium3DTilesets
Feature
Currently a Cesium3DTileset supports some rendering properties such as Visible, Actor Hidden in Game and Render CustomDepth pass.
I recently had a use case where I wanted to prevent rendering a tileset in the main pass and only render via a scene capture component. The ability to use Render in Main Pass and Render in Depth Pass would have been useful in achieving this smoothly, but is currently unavailable.
There are many rendering properties available to primitives which we could potentially support, some will probably not be applicable but some are useful, such as the below ones:
These can be brute force set on the child MeshComponents of a tileset, but as new tiles load in they also need to be updated manually which has a performance overhead.
I guess if we implemented #1076, it would be pretty helpful for working around missing properties like this!
It should be straightforward to add these particular properties, though.