1
$\begingroup$

I'm using Blender 2.8.2 with the Evee renderer. I have a simple object, with an animated material. Is there a way to export the object for use in Unity with the animated material? I've tried the GLTF exporter but it did not bring across the animated materials.

THe screen shot here shows the rendered material, the animation key frames and the nodes. enter image description here

$\endgroup$
0
$\begingroup$

UV animation isn't supported by any contemporary 3D file format. It's still possible through a few ugly methods, though.

  • Use Unity's animation editor to animate the UVs directly inside of Unity. This is easy but not exportable.

    1. Add a bone and drive the UVs through the bones position, and animate that instead.
    2. Make a script that does the same in Unity.
    3. Export the animation and play that instead.

Make sure the way you drive UVs in Blender and in Unity are identical. If you're using the UV Project modifier you'll have to replicate that exact functionality in Unity as well. This sorta works but is clunky so I don't really recommend it.

| improve this answer | |
$\endgroup$
0
$\begingroup$

Reference: https://forum.unity.com/threads/can-blender-2-8-eevee-shaders-still-be-used-with-unity.645271/

Asking a Unity3D game developer about your question brought me to the conclusion that you can't actually export "animated materials" from Blender to Unity unless you recreate the shader IN Unity/ More info in the link i gave you.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Could you give reasons for it? $\endgroup$ – Lukasz-40sth Apr 11 at 12:24
  • $\begingroup$ Thanks for the link. I'll look at it and hopefully it will be at least in shouting distance of my current knowledge/skill level. $\endgroup$ – Charles Apr 11 at 17:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.