microsoft / MapsSDK-Unity

This repository contains samples, documentation, and supporting scripts for Maps SDK, a Microsoft Garage project.
MIT License
648 stars 126 forks source link

Is it supports HDRP? #130

Closed cauosg closed 2 years ago

cauosg commented 3 years ago

Hello, we want to use this SDK with unity High Definition Render Pipeline. When we changed default render pipeline to HDRP, map material seems not working. It shows elevations successfully, but map photo is not. Please check HDRP is supported. thank you!

image

kircher1 commented 2 years ago

The shaders used to render the map are not HDRP compatible. Currently only the standard render pipeline and URP are supported.

cauosg commented 2 years ago

Thanks for replying! Then, Is MapsSDK-unity supposed to support HDRP?

kircher1 commented 2 years ago

Not currently. The custom shaders/materials of the SDK would need to be translated to HDRP.

The MapRenderer's default material could be overridden with a custom material, so if someone was able to create an HDRP compatible version of the current material and shader, then it is at least possible to swap out the current non-HDRP compatible material for one that works in HDRP. However, I'm not sure what the best path would be to translate a standard/URP shader to HDRP, so I don't have any guidance to share for how to go about that.