William Besnard


About Me

Indie Gamedev


Recent Forum Posts

Help on HDA performance July 12, 2020, 5:03 p.m.


One of my most useful HDA is quite slow to spawn but quite fast to operate, and I am wondering how I could optimize it: it contains quite a few sub-HDAs in it, so I guess the slow down comes from loading them all, but they are also very simple: could anyone point me in directions on how to optimize it?

I attached the HDA so you can see for yourself.


VAT Texture with Unity HDRP June 5, 2020, 12:42 p.m.


I've been trying to use the Labs Vat node to be used in Unity using HDRP. I am using the shader from this github:

https://github.com/keijiro/HdrpVatExample [github.com]

but I can't manage to export the Vat texture properly, no matter the type (I tried Soft, RBD and Fluid). The animation does not play in the editor, or the axes are wrong (and changing the axes in the orientation doesn't seem to work).

I know that this shader is not the one provided with Labs, but is there any way to make this work with HDRP? My shader knowledge is limited so I'm out of luck on that side…

On a side note, the best way I found to create VAT was to export my animation as an alembic file, and then use this tool:
https://github.com/Gaxil/Unity-AlembicToVAT [github.com]

But obviously this workflow is less than ideal.

Did anyone manage to make VAT textures work with HDRP?

Labs Quick Material and For Each Connected Piece Loop June 2, 2020, 3:11 p.m.

Good point, sadly that won't work for me since I am trying to export an fbx to be used in Unity.

However I found a dirty trick to make it work: adding an attribute named sop_materialpath varying per piece creates a material per piece on export, even though they do not point to specific materials in Houdini.