microsoft / MixedReality-WorldLockingTools-Unity

Unity tools to provide a stable coordinate system anchored to the physical world.
https://microsoft.github.io/MixedReality-WorldLockingTools-Unity/README.html
MIT License
188 stars 45 forks source link

Shader issues on materials, prefabs, visualizers after upgrading to URP #272

Open genereddick opened 2 years ago

genereddick commented 2 years ago

Not a comprehensive list but on upgrading a WLT project to the Universal Render Pipeline, some of the materials/prefabs/shaders had issues:

For many it was a simple update to the matching URP shaders or just using the MRTK_Standard shader for URP, however, for some they did not get upgraded and displayed as pink or not at all.

The SpacePinVisualizer was the most problematic.

Anything using the Default-Material such as LabeledPin FrozenAnchorVisual prefab (Arrow) SpongyAnchorVisual preab (CylinderMesh)

The custom Debug shaders on: DebugVisualizerExtrapolatedMeshMaterial DebugVisualizerMeshMaterial DebugVisualizerWeigtMeshMaterial DebugVisualizerWireframeMeshMaterial

Shaders: DebugTriangle DebugWeight

I was unsure which shader to assign to Legacy Shaders/Particles/Alpha Blended Premultiply on WorldLocking.Examples/Materials/Ray WorldLocking.Tools/Materials/WLT-Line