Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Suggestion / Idea  ObiSkinnedClothRenderer needs shadow properties
#1
Thanks for the Obi 5.2 update.
However it seems that cast and receive shadow properties not be implemented.

I suggest to change line 86 of ObiSkinnedClothRenderer.cs like this.
Code:
Graphics.DrawMesh(clothMesh, matrix, rendererMaterials[j], gameObject.layer, null, Mathf.Min(j, subMeshCount - 1)

                            ,null,skin.shadowCastingMode,skin.receiveShadows);
Reply


Messages In This Thread
ObiSkinnedClothRenderer needs shadow properties - by asimofu_ok - 30-03-2020, 12:27 PM