Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Universal Render Pipeline support

kircher1 edited this page Jun 3, 2021 · 5 revisions

For projects targeting the Universal Render Pipeline (URP), a support package is provided which includes compatible shaders for rendering the map.

This package can be installed via the Git URL.

  1. Locate the Unity project's folder. In the Packages directory, open manifest.json.

    Modify the dependencies as follows:

      "dependencies": {
        "com.microsoft.maps.unity.urp": "https://github.com/microsoft/MapsSDK-Unity.git?path=/UPM/com.microsoft.maps.unity.urp",
        "existing dependencies"
      }
  2. Apply the custom URP materials to the MapRenderer.

    Go to Render Settings. Check Use Custom Terrain Material and Use Custom Clipping Volume Material.

    Select the corresponding URP materials, UnlitTerrainMaterial-URP-MapsSDK and ClippingVolumeMaterial-URP-MapsSDK.

Note, the URP shaders are not compatible with HDRP.


Clone this wiki locally