PacosLelouch / MeshDeformUnity

Real-time mesh skinning with DDM implemented in Unity 2020.3.13.
BSD 2-Clause "Simplified" License
22 stars 5 forks source link

HDRP #2

Open LazingInTheHaze opened 4 months ago

LazingInTheHaze commented 4 months ago

Hi. I'm trying to use your project with HDRP pipeline. If I attach the DDMSkinnedMeshGPUVar0 component to my model all seems to work fine (except for a Debub Assertion, see details below) but in the scene the model mesh is not drawn. I think this is due to the deformed mesh using a material not compatible with HDRP. How can I convert it, if possible? Thanks

Assertion details: Assertion failed UnityEngine.Debug:Assert (bool) DDMSkinnedMeshGPUVar0:InitBase () (at Assets/_POC/Direct Delta Mush/Scripts/DirectDeltaMush/DDMSkinnedMeshGPUVar0.cs:383) DDMSkinnedMeshGPUVar0:Start () (at Assets/_POC/Direct Delta Mush/Scripts/DirectDeltaMush/DDMSkinnedMeshGPUVar0.cs:623)