CesiumGS / cesium-o3de

Cesium for O3DE
Apache License 2.0
76 stars 22 forks source link

Add support for custom material #28

Open baothientran opened 2 years ago

baothientran commented 2 years ago

The internal system has method to override the default glTF material type asset. However, it doesn't play nice for the case where the override material doesn't have the same properties as the current material. The easiest way to do it is to copy the whole glTF materials, but it's pretty awkward to do that due to maintenance. We should consider to rearrange some of the header material files for reusability. Then after that, expose the custom material to the user