sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.32k stars 370 forks source link

Houdini Engine for UE5 request: Export UDIM textures with customized settings (VT, Compression, etc) #207

Open illia-statkevych opened 1 year ago

illia-statkevych commented 1 year ago

Hi SideFx team,

Currently, it's possible to create a material instance, change its parameters, and assign Houdini-generated textures as explained here [https://www.sidefx.com/docs/unreal/_materials.html#MaterialsInstances]. And it works fine with a single texture except for missing the Source File when texture comes from the disc rather than COPs. However, as soon as I try to use _%(UDIM)d in the material base color texture path, it no longer generates textures in Unreal. If I import UDIM textures manually into Unreal, it creates a long Virtual Texture containing all UDIMs with multiple source files. There also doesn't seem to be a way to set Texture parameters like Virtual Streaming Texture, Compression Settings, and sRGB to make sure the texture is imported as it is intended as it's not always a standard color or normal map, it could be various masks or textures with data like Vertex Animation Textures.

ATM, importing UDIM textures, updating texture settings, and assigning texture references to HDAs are still manual processes. It would help to streamline the generation of the procedural assets in Unreal Engine if there would be a more flexible and customizable way to pass textures from Houdini into Unreal and back preserving source references and having the ability to set texture parameters similar to meshes.

Thank you for looking into this!

clopezochoa commented 8 months ago

Hi SideFx,

Has anyone figured out how to automatize UDIMs when working with baked HDAs inside Unreal Engine? I'm using HoudiniFX Indie 19.5.493 and Unreal Engine 5.1.1 and I currently face the exact same problem, whenever I use just one texture, it's all fine, the material instance is created automatically when the HDA is baked, but whether I use UDIMs in the exact process... Unreal doesn't seem to map them right.

Kindest regards, Carlos