Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read influence from a texture or vertex color instead of painting in Unity?
#4
(06-04-2024, 07:04 AM)kodra Wrote: Thank for your reply! That would be a good feature to have.

Hi!

Attached to this post you'll find a modified ObiSoftbodySkinnerEditor.cs script (for Obi 7 only!) that allows you to import/export per-vertex influence to/from png textures. Right now the export size is fixed at 512x512, with a border padding distance of 64 pixels.

[Image: dqZ9Nkd.png]

Replace the one in your project with it. Let me know if you have any comments!

kind regards,


Attached Files
.cs   ObiSoftbodySkinnerEditor.cs (Size: 15.55 KB / Downloads: 1)
Reply


Messages In This Thread
RE: Read influence from a texture or vertex color instead of painting in Unity? - by josemendez - 08-04-2024, 01:11 PM