CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
938 stars 295 forks source link

Add property texture styling #1291

Closed j9liu closed 11 months ago

j9liu commented 11 months ago

This continues off the work that was done in #1254, allowing property textures to be used in metadata styling. You can test this using the US Muscatatuck dataset I linked in the previous PR and compare the result with this CesiumJS sandcastle.

This is what it looks like if you map the horizontal uncertainty to the red channel, and the vertical uncertainty to the yellow. image

I also added some HLSL safety measures that weren't previously in place, and replaced hardcoded node X / Y values with a more responsive system.

cesium-concierge commented 11 months ago

Thanks for the pull request @j9liu!

Reviewers, don't forget to make sure that:

kring commented 11 months ago

I've deleted my comment above because I realized what I was doing wrong. I was just running the wrong branch. 😬 Sorry for the noise!

kring commented 11 months ago

This looks great, thanks @j9liu!