Has Anyone Successfully Created a Shader in Unreal 5.4 Compatible with tyVAT Formats? - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: Has Anyone Successfully Created a Shader in Unreal 5.4 Compatible with tyVAT Formats? (/thread-4580.html) |
Has Anyone Successfully Created a Shader in Unreal 5.4 Compatible with tyVAT Formats? - frascow - 11-28-2024 Hi everyone, I’ve been experimenting with tyFlow’s Vertex Animation Textures (tyVAT) and trying to implement a shader in Unreal Engine 5.4 that works with one of the tyVAT formats (Relative Offset, World Position Offset, etc.). So far, I’ve managed to import the .exr file and set up the basic texture sampling, but I’m struggling to ensure proper vertex displacement and animations. Specifically, decoding the texture data (e.g., bounds normalization for Relative Offset) and connecting it correctly to the World Position Offset node in the material is proving challenging. Has anyone here managed to build a working shader for Unreal Engine 5.4 that’s compatible with tyVAT? If so:
RE: Has Anyone Successfully Created a Shader in Unreal 5.4 Compatible with tyVAT Formats? - tyFlow - 11-28-2024 How are you constructing your Unreal shader? RE: Has Anyone Successfully Created a Shader in Unreal 5.4 Compatible with tyVAT Formats? - frascow - 11-28-2024 (11-28-2024, 02:56 PM)tyFlow Wrote: How are you constructing your Unreal shader?Check the attachments, I guess I'm doing it really bad :/ RE: Has Anyone Successfully Created a Shader in Unreal 5.4 Compatible with tyVAT Formats? - tyFlow - 11-28-2024 Ah...tyVAT requires a custom vertex shader implementation. As it stands you won't be able to just slot it into an Unreal shader graph like that...you would need to adapt the Unity HLSL shader provided in the tyVAT docs to an Unreal HLSL shader. Perhaps at some point I'll add a mode to directly export Unreal-compatible VAT data from tyVAT. RE: Has Anyone Successfully Created a Shader in Unreal 5.4 Compatible with tyVAT Formats? - frascow - 11-28-2024 (11-28-2024, 07:34 PM)tyFlow Wrote: Ah...tyVAT requires a custom vertex shader implementation. As it stands you won't be able to just slot it into an Unreal shader graph like that...you would need to adapt the Unity HLSL shader provided in the tyVAT docs to an Unreal HLSL shader. That will be awesome! |